net.rim.device.api.crypto.keystore
Class RevocationReason

java.lang.Object
  extended by net.rim.device.api.crypto.keystore.RevocationReason

public final class RevocationReason
extends Object

This class describes the reason for a certificate revocation. It contains a long describing the typical reasons that one would revoke a certificate and allows for this reason to be properly propogated to the Desktop Software during synchronization.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 3.6.0

Field Summary
Category: Signed static int CRL_REASON_AFFILIATION_CHANGED
           
Category: Signed static int CRL_REASON_CA_COMPROMISE
           
Category: Signed static int CRL_REASON_CERTIFICATE_HOLD
           
Category: Signed static int CRL_REASON_CESSATION_OF_OPERATION
           
Category: Signed static int CRL_REASON_KEY_COMPROMISE
           
Category: Signed static int CRL_REASON_KEY_RETIRED
           
Category: Signed static int CRL_REASON_REMOVE_FROM_CRL
           
Category: Signed static int CRL_REASON_SUPERSEDED
           
Category: Signed static int CRL_REASON_UNSPECIFIED
           
Category: Signed static int CRL_REASON_USER_ID_INVALID
           
 
Method Summary
Category: Signed static String getRevocationReason(int revocationReason)
          This method returns a string equivalent according to the locale specifying why the certificate was revoked given one of the revocation reasons above.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Field Detail

CRL_REASON_UNSPECIFIED

public static final int CRL_REASON_UNSPECIFIED
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 3.6.0

CRL_REASON_KEY_COMPROMISE

public static final int CRL_REASON_KEY_COMPROMISE
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 3.6.0

CRL_REASON_CA_COMPROMISE

public static final int CRL_REASON_CA_COMPROMISE
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 3.6.0

CRL_REASON_AFFILIATION_CHANGED

public static final int CRL_REASON_AFFILIATION_CHANGED
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 3.6.0

CRL_REASON_SUPERSEDED

public static final int CRL_REASON_SUPERSEDED
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 3.6.0

CRL_REASON_CESSATION_OF_OPERATION

public static final int CRL_REASON_CESSATION_OF_OPERATION
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 3.6.0

CRL_REASON_CERTIFICATE_HOLD

public static final int CRL_REASON_CERTIFICATE_HOLD
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 3.6.0

CRL_REASON_REMOVE_FROM_CRL

public static final int CRL_REASON_REMOVE_FROM_CRL
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 3.6.0

CRL_REASON_KEY_RETIRED

public static final int CRL_REASON_KEY_RETIRED
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.2.1

CRL_REASON_USER_ID_INVALID

public static final int CRL_REASON_USER_ID_INVALID
See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.2.1


Method Detail

getRevocationReason

public static String getRevocationReason(int revocationReason)
This method returns a string equivalent according to the locale specifying why the certificate was revoked given one of the revocation reasons above.

Parameters:
revocationReason - an integer specified by one of the constants defined in this class that represents why the certificate was revoked or -1 if no revocation reason is available.
Returns:
a string containing the revocation reason for this certificate or null if no revocation reason was available (-1).
Throws:
IllegalArgumentException - if the revocation reason integer is not contained in the constants above.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 3.6.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal