SHOW Signed SHOW CryptoExtensionAPI

net.rim.device.api.crypto
Interface AsymmetricCryptoToken

All Superinterfaces:
CryptoToken, Persistable, Persistable
All Known Implementing Classes:
DHCryptoToken, DSACryptoToken, ECCryptoToken, KEACryptoToken, RSACryptoToken

public interface AsymmetricCryptoToken
extends CryptoToken

Defines a crypto token for asymmetric key algorithms.

Crypto tokens are used to store and distribute crypotgraphic information.

Category:
CryptoExtensionAPI: This element is part of the Crypto Extension API. These APIs are intended for parties interested in extending the security provider frameworks, such as integrating a new security medium.
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

Since:
JDE 3.6.0

Field Summary
 Category: CryptoExtensionAPI Category: Signed static int KEY_GENERATION
          Use this value with the isSupported() method to query whether generating keys of a particular bit length is supported by this CryptoToken.
 Category: CryptoExtensionAPI Category: Signed static int PRIVATE_KEY_OPERATION
          Use this value with the isSupported() method to query whether performing a private key operation with keys of a particular bit length is supported by this CryptoToken.
 Category: CryptoExtensionAPI Category: Signed static int PUBLIC_KEY_OPERATION
          Use this value with the isSupported() method to query whether performing a public key operation with keys of a particular bit length is supported by this CryptoToken.
 
Method Summary
 Category: CryptoExtensionAPI Category: Signed  boolean isSupported(CryptoSystem cryptoSystem, int operation)
          Indicates whether the chosen operation is supported by this CryptoToken using the provided CryptoSytem.
 
Methods inherited from interface net.rim.device.api.crypto.CryptoToken
getAlgorithm, providesUserAuthentication
 

Field Detail

KEY_GENERATION

public static final int KEY_GENERATION
Use this value with the isSupported() method to query whether generating keys of a particular bit length is supported by this CryptoToken.
Since:
JDE 3.6.0
Category:
CryptoExtensionAPI: This element is part of the Crypto Extension API. These APIs are intended for parties interested in extending the security provider frameworks, such as integrating a new security medium.
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

PRIVATE_KEY_OPERATION

public static final int PRIVATE_KEY_OPERATION
Use this value with the isSupported() method to query whether performing a private key operation with keys of a particular bit length is supported by this CryptoToken.
Since:
JDE 3.6.0
Category:
CryptoExtensionAPI: This element is part of the Crypto Extension API. These APIs are intended for parties interested in extending the security provider frameworks, such as integrating a new security medium.
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

PUBLIC_KEY_OPERATION

public static final int PUBLIC_KEY_OPERATION
Use this value with the isSupported() method to query whether performing a public key operation with keys of a particular bit length is supported by this CryptoToken.
Since:
JDE 3.6.0
Category:
CryptoExtensionAPI: This element is part of the Crypto Extension API. These APIs are intended for parties interested in extending the security provider frameworks, such as integrating a new security medium.
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
Method Detail

isSupported

public boolean isSupported(CryptoSystem cryptoSystem,
                           int operation)
Indicates whether the chosen operation is supported by this CryptoToken using the provided CryptoSytem.

Parameters:
cryptoSystem - The CryptoSystem to check against.
operation - An integer, either KEY_GENERATION, PUBLIC_KEY_OPERATION, PRIVATE_KEY_OPERATION, or some other value specific to the cryptosystem that indicates the operation to be checked.
Since:
JDE 3.6.0
Category:
CryptoExtensionAPI: This element is part of the Crypto Extension API. These APIs are intended for parties interested in extending the security provider frameworks, such as integrating a new security medium.
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.


Copyright 1999-2007 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.