net.rim.device.api.crypto.encoder
Class EncodedKey
java.lang.Object
net.rim.device.api.crypto.encoder.EncodedKey
public class EncodedKey
- extends Object
Stores encoded keys using any of the supported encoding algorithms.
- 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
|
Constructor Summary |
|
EncodedKey(byte[] encodedKey,
String encodingAlgorithm)
Creates a new EncodedKey object. |
|
Method Summary |
|
byte[] |
getEncodedKey()
Returns the bytes representing the encoding of the key. |
|
String |
getEncodingAlgorithm()
Returns the string representing the encoding algorithm used, eg "X509". |
EncodedKey
public EncodedKey(byte[] encodedKey,
String encodingAlgorithm)
- Creates a new
EncodedKey object.
- Parameters:
encodedKey - The actual encoding of the key.encodingAlgorithm - A String representing the encoding details, such as "X509".- 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
getEncodedKey
public byte[] getEncodedKey()
- Returns the bytes representing the encoding of the key.
- Returns:
- A byte array containing the encoded key.
- 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
getEncodingAlgorithm
public String getEncodingAlgorithm()
- Returns the string representing the encoding algorithm used, eg "X509".
- Returns:
- A String representing the algorithm.
- 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