SHOW Signed
 

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

java.lang.Object
  |
  +--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:
JDE 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_AFFILIATION_CHANGED

public static final int CRL_REASON_AFFILIATION_CHANGED
Since:
JDE 3.6.0
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.

CRL_REASON_CA_COMPROMISE

public static final int CRL_REASON_CA_COMPROMISE
Since:
JDE 3.6.0
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.

CRL_REASON_CERTIFICATE_HOLD

public static final int CRL_REASON_CERTIFICATE_HOLD
Since:
JDE 3.6.0
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.

CRL_REASON_CESSATION_OF_OPERATION

public static final int CRL_REASON_CESSATION_OF_OPERATION
Since:
JDE 3.6.0
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.

CRL_REASON_KEY_COMPROMISE

public static final int CRL_REASON_KEY_COMPROMISE
Since:
JDE 3.6.0
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.

CRL_REASON_KEY_RETIRED

public static final int CRL_REASON_KEY_RETIRED
Since:
JDE 4.2.1
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.

CRL_REASON_REMOVE_FROM_CRL

public static final int CRL_REASON_REMOVE_FROM_CRL
Since:
JDE 3.6.0
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.

CRL_REASON_SUPERSEDED

public static final int CRL_REASON_SUPERSEDED
Since:
JDE 3.6.0
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.

CRL_REASON_UNSPECIFIED

public static final int CRL_REASON_UNSPECIFIED
Since:
JDE 3.6.0
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.

CRL_REASON_USER_ID_INVALID

public static final int CRL_REASON_USER_ID_INVALID
Since:
JDE 4.2.1
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.
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.
Since:
JDE 3.6.0
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.



Copyright 1999-2009 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.