|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.novell.security.japi.pki.NPKI_Error
Holds the error codes for a certificate generated during verification.
Constructor Summary | |
NPKI_Error()
Constructs a NPKI_Error object |
|
NPKI_Error(int invalidityReason,
int crlReason,
int crlHoldInstruction,
int crlRevocationTime,
int crlInvalidityTime)
Specifies what error occurred during certificate validation. |
Method Summary | |
int |
getCertificateInvalidity()
Provides the reason why the certificate is invalid. |
int |
getCRLHoldInstruction()
Provides the certificate on-hold instruction code. |
int |
getCRLInvalidity()
Provides the reason why the CRL is invalid. |
int |
getCRLInvalidityDateTime()
Gets the date the CRL becomes invalid. |
int |
getCRLRevocationTime()
Gets the time the certificate becomes invalid. |
void |
setCertificateInvalidity(int certInvalidity)
|
void |
setCRLHoldInstruction(int holdInstruction)
|
void |
setCRLInvalidity(int crlReason)
|
void |
setCRLInvalidityDateTime(int invalidityDateTime)
|
void |
setCRLRevocationTime(int revocationTime)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NPKI_Error()
public NPKI_Error(int invalidityReason, int crlReason, int crlHoldInstruction, int crlRevocationTime, int crlInvalidityTime)
invalidityReason
- Specifies the certificate invalidity reason.crlReason
- If the certificate has been revoked, then the reason code from the CRL will be returned.crlHoldInstruction
- If the certificate has been revoked, and the reason code is certificateHold
then the hold instruction from the CRL will be returned.crlRevocationTime
- The date the certificate became invalid.crlInvalidityTime
- The date the CRL becomes invalid.Method Detail |
public void setCertificateInvalidity(int certInvalidity)
public void setCRLInvalidity(int crlReason)
public void setCRLHoldInstruction(int holdInstruction)
public void setCRLRevocationTime(int revocationTime)
public void setCRLInvalidityDateTime(int invalidityDateTime)
public int getCertificateInvalidity()
public int getCRLInvalidity()
public int getCRLHoldInstruction()
PKI_HOLD_INSTRUCTION_NONE
PKI_HOLD_INSTRUCTION_CALL_ISSUER
PKI_HOLD_INSTRUCTION_REJECT
public int getCRLRevocationTime()
public int getCRLInvalidityDateTime()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |