net.rim.device.api.crypto.tls.wtls20
Class WTLSCipherSuites
java.lang.Object
net.rim.device.api.crypto.tls.wtls20.WTLSCipherSuites
public final class WTLSCipherSuites
- extends Object
This class contains the necessary information for a developer or a user or
an interested IT person to determine and specify the ciphersuites that are
to be used with a specific connection or that are supposed to be used in
general with all connections.
- 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 |
|
static byte |
DES_CBC
Represents DES encryption in CBC mode. |
|
static byte |
DES_CBC_40
Represents 40 bit DES encryption in CBC mode. |
|
static byte |
IDEA_CBC
Represents IDEA encryption in CBC mode. |
|
static byte |
IDEA_CBC_40
Represents 40 bit IDEA encryption in CBC mode. |
|
static byte |
IDEA_CBC_56
Represents 56 bit IDEA encryption in CBC mode. |
|
static byte |
IDEA_CBC_64
Represents 64 bit IDEA encryption in CBC mode. |
|
static byte |
MD5
Represents the MD5 MAC algorithm. |
|
static byte |
MD5_40
Represents the 40 bit MD5 MAC algorithm. |
|
static byte |
MD5_80
Represents the 80 bit MD5 MAC algorithm. |
|
static byte |
NULL
Represents Null. |
|
static byte |
RC5_CBC
Represents RC5 encryption in CBC mode. |
|
static byte |
RC5_CBC_40
Represents 40 bit RC5 encryption in CBC mode. |
|
static byte |
RC5_CBC_56
Represents 56 bit RC5 encryption in CBC mode. |
|
static byte |
RC5_CBC_64
Represents 64 bit RC5 encryption in CBC mode. |
|
static byte |
SHA
Respresents the SHA MAC algorithm. |
|
static byte |
SHA_0
Represents the SHA-0 MAC algorithm. |
|
static byte |
SHA_40
Represents the 40 bit SHA MAC algorithm. |
|
static byte |
SHA_80
Represents the 80 bit SHA MAC algorithm. |
|
static byte |
TDES_CBC_EDE
Represents triple DES (EDE) in CBC mode. |
|
Method Summary |
|
static void |
addEncryptionAlgorithm(byte algorithm,
int priority)
Add an encryption algorithm with the specified priority. |
|
static void |
addKeyExchangeAlgorithm(byte[] algorithm,
int priority)
Add a key exchange algorithm with the specified priority. |
|
static void |
addMACAlgorithm(byte algorithm,
int priority)
Add a MAC algorithm with the specified priority. |
|
static boolean |
export(byte cipher)
This method checks to see if the encryption algorithm passed into this method
is considered to be of export strength. |
|
static byte[] |
getDefaultEncryptionAlgorithms()
This method returns the default algorithms with
their default priority keeping the security of the
ciphersuites in mind at all times. |
|
static byte[][] |
getDefaultKeyExchangeAlgorithms()
This method returns the default MAC Algorithms with
their default priority keeping the security of the
ciphersuites in mind at all times. |
|
static byte[] |
getDefaultMACAlgorithms()
This method returns the default MAC Algorithms with
their default priority keeping the security of the
ciphersuites in mind at all times. |
|
static byte[] |
getEncryptionPriority()
This method returns the array of ciphersuites currently stored
with their appropriate priority (first in the array has most
priority). |
|
static byte[][] |
getKeyExchangePriority()
This method returns the array of key exchanges currently stored
with their appropriate priority (first in the array has most
priority). |
|
static byte[] |
getMACPriority()
This method returns the array of MACs currently stored
with their appropriate priority (first in the array has most
priority). |
|
static byte[] |
getSupportedEncryptionAlgorithms()
Returns a byte array comprising of the supported
encryption algorithms for the WTLS implementation on the RIM
device. |
|
static byte[] |
getSupportedExportEncryptionAlgorithms()
Returns a copy of the supported export encryption algorithms
for the WTLS implementation on the RIM device. |
|
static byte[][] |
getSupportedKeyExchangeAlgorithms()
Returns a byte array comprising of the supported
Key Exchange algorithms for the WTLS implementation on the RIM
device. |
|
static byte[] |
getSupportedMACAlgorithms()
Returns a byte array comprising of the supported
MAC algorithms for the WTLS implementation on the RIM
device. |
|
static byte[] |
getSupportedNonExportEncryptionAlgorithms()
Returns a copy of the supported non-export encryption algorithms
for the WTLS implementation on the RIM device. |
|
static void |
prioritizeEncryptionAlgorithms(byte higher,
byte lower)
This method ensures that the ciphersuite passed in as higher
will be higher than the ciphersuite passed in as lower. |
|
static void |
prioritizeKeyExchangeAlgorithms(byte[] higher,
byte[] lower)
This method ensures that the kex algorithm passed in as higher
will be higher than the kex algorithm passed in as lower. |
|
static void |
prioritizeMACAlgorithms(byte higher,
byte lower)
This method ensures that the mac algorithm passed in as higher
will be higher than the mac algorithm passed in as lower. |
|
static void |
removeAllEncryptionAlgorithms()
This class removes all the encryption algorithms stored in the storage. |
|
static void |
removeAllKeyExchangeAlgorithms()
This class removes all the keyex algorithms stored in the storage. |
|
static void |
removeAllMACAlgorithms()
This class removes all the mac algorithms stored in the storage. |
|
static void |
removeEncryptionAlgorithm(byte algorithm)
Removes the specified encryption algorithm from the priority list. |
|
static void |
removeKeyExchangeAlgorithm(byte[] algorithm)
Removes the specified KeyX algorithm from the priority list. |
|
static void |
removeMACAlgorithm(byte algorithm)
Removes the specified MAC algorithm from the priority list. |
NULL
public static final byte NULL
- Represents Null.
- 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
RC5_CBC_40
public static final byte RC5_CBC_40
- Represents 40 bit RC5 encryption in CBC mode.
- 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
RC5_CBC_56
public static final byte RC5_CBC_56
- Represents 56 bit RC5 encryption in CBC mode.
- 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
RC5_CBC
public static final byte RC5_CBC
- Represents RC5 encryption in CBC mode.
- 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
DES_CBC_40
public static final byte DES_CBC_40
- Represents 40 bit DES encryption in CBC mode.
- 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
DES_CBC
public static final byte DES_CBC
- Represents DES encryption in CBC mode.
- 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
TDES_CBC_EDE
public static final byte TDES_CBC_EDE
- Represents triple DES (EDE) in CBC mode.
- 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
IDEA_CBC_40
public static final byte IDEA_CBC_40
- Represents 40 bit IDEA encryption in CBC mode.
- 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
IDEA_CBC_56
public static final byte IDEA_CBC_56
- Represents 56 bit IDEA encryption in CBC mode.
- 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
IDEA_CBC
public static final byte IDEA_CBC
- Represents IDEA encryption in CBC mode.
- 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
RC5_CBC_64
public static final byte RC5_CBC_64
- Represents 64 bit RC5 encryption in CBC mode.
- 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
IDEA_CBC_64
public static final byte IDEA_CBC_64
- Represents 64 bit IDEA encryption in CBC mode.
- 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
SHA_0
public static final byte SHA_0
- Represents the SHA-0 MAC algorithm.
- 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
SHA_40
public static final byte SHA_40
- Represents the 40 bit SHA MAC algorithm.
- 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
SHA_80
public static final byte SHA_80
- Represents the 80 bit SHA MAC algorithm.
- 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
SHA
public static final byte SHA
- Respresents the SHA MAC algorithm.
- 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
MD5_40
public static final byte MD5_40
- Represents the 40 bit MD5 MAC algorithm.
- 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
MD5_80
public static final byte MD5_80
- Represents the 80 bit MD5 MAC algorithm.
- 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
MD5
public static final byte MD5
- Represents the MD5 MAC algorithm.
- 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
getSupportedMACAlgorithms
public static byte[] getSupportedMACAlgorithms()
- Returns a byte array comprising of the supported
MAC algorithms for the WTLS implementation on the RIM
device.
- Returns:
- A byte array containing the names of all supported MAC 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
getSupportedKeyExchangeAlgorithms
public static byte[][] getSupportedKeyExchangeAlgorithms()
- Returns a byte array comprising of the supported
Key Exchange algorithms for the WTLS implementation on the RIM
device.
- Returns:
- A byte array containing the names of all supported key exchange 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
getSupportedEncryptionAlgorithms
public static byte[] getSupportedEncryptionAlgorithms()
- Returns a byte array comprising of the supported
encryption algorithms for the WTLS implementation on the RIM
device.
- Returns:
- A byte array containing the names of all supported encryption 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
getSupportedExportEncryptionAlgorithms
public static byte[] getSupportedExportEncryptionAlgorithms()
- Returns a copy of the supported export encryption algorithms
for the WTLS implementation on the RIM device.
- Returns:
- A byte array containing the names of all supported export encryption 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
getSupportedNonExportEncryptionAlgorithms
public static byte[] getSupportedNonExportEncryptionAlgorithms()
- Returns a copy of the supported non-export encryption algorithms
for the WTLS implementation on the RIM device.
- Returns:
- A byte array containing the names of all non-supported export encryption 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
addEncryptionAlgorithm
public static void addEncryptionAlgorithm(byte algorithm,
int priority)
- Add an encryption algorithm with the specified priority.
Priority
is a location in an array so to speak and hence the lower
index in the array the more priority. If you want to place
the element at the end of the array then pass in priority
less than zero.
- Parameters:
algorithm - A byte representing the algorithm to add.priority - An integer specifying the priority.- 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
removeEncryptionAlgorithm
public static void removeEncryptionAlgorithm(byte algorithm)
- Removes the specified encryption algorithm from the priority list.
- Parameters:
algorithm - A byte representing the algorithm to remove.- 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
addMACAlgorithm
public static void addMACAlgorithm(byte algorithm,
int priority)
- Add a MAC algorithm with the specified priority. Priority
is a location in an array so to speak and hence the lower
index in the array the more priority. If you want to place
the element at the end of the array then pass in priority
less than zero.
- Parameters:
algorithm - A byte representing the MAC algorithm to add.priority - An integer specifying the priority.- 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
removeMACAlgorithm
public static void removeMACAlgorithm(byte algorithm)
- Removes the specified MAC algorithm from the priority list.
- Parameters:
algorithm - A byte representing the MAC algorithm to remove.- 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
addKeyExchangeAlgorithm
public static void addKeyExchangeAlgorithm(byte[] algorithm,
int priority)
- Add a key exchange algorithm with the specified priority.
Priority
is a location in an array so to speak and hence the lower
index in the array the more priority. If you want to place
the element at the end of the array then pass in priority
less than zero.
- Parameters:
algorithm - A byte representing the key exchange algorithm to add.priority - An integer specifying the priority.- 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
removeKeyExchangeAlgorithm
public static void removeKeyExchangeAlgorithm(byte[] algorithm)
- Removes the specified KeyX algorithm from the priority list.
- Parameters:
algorithm - The key exchange algorithm to remove.- 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
prioritizeEncryptionAlgorithms
public static void prioritizeEncryptionAlgorithms(byte higher,
byte lower)
- This method ensures that the ciphersuite passed in as
higher
will be higher than the ciphersuite passed in as lower.
If higher already has a higher priority then this method
does not change anything. If higher has a lower priority
then it is placed directly above the lower priority ciphersuite.
If one of higher or lower is not contained in the container then nothing is
changed.
- Parameters:
higher - An integer representing the upper bound.lower - An integer repreenting the lower bound.- 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
prioritizeMACAlgorithms
public static void prioritizeMACAlgorithms(byte higher,
byte lower)
- This method ensures that the mac algorithm passed in as
higher
will be higher than the mac algorithm passed in as lower.
If higher already has a higher priority then this method
does not change anything. If higher has a lower priority
then it is placed directly above the lower priority mac algorithm.
If one of higher or lower is not contained in the container then nothing is
changed.
- Parameters:
higher - An integer representing the upper bound.lower - An integer repreenting the lower bound.- 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
prioritizeKeyExchangeAlgorithms
public static void prioritizeKeyExchangeAlgorithms(byte[] higher,
byte[] lower)
- This method ensures that the kex algorithm passed in as
higher
will be higher than the kex algorithm passed in as lower.
If higher already has a higher priority then this method
does not change anything. If higher has a lower priority
then it is placed directly above the lower priority kex algorithm.
If one of higher or lower is not contained in the container then nothing is
changed.
- Parameters:
higher - An integer representing the upper bound.lower - An integer repreenting the lower bound.- 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
getEncryptionPriority
public static byte[] getEncryptionPriority()
- This method returns the array of ciphersuites currently stored
with their appropriate priority (first in the array has most
priority).
- Returns:
- A byte array containing the priority.
- 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
getMACPriority
public static byte[] getMACPriority()
- This method returns the array of MACs currently stored
with their appropriate priority (first in the array has most
priority).
- Returns:
- A byte array containing the priority.
- 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
getKeyExchangePriority
public static byte[][] getKeyExchangePriority()
- This method returns the array of key exchanges currently stored
with their appropriate priority (first in the array has most
priority).
- Returns:
- A byte array containing the priority.
- 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
getDefaultEncryptionAlgorithms
public static byte[] getDefaultEncryptionAlgorithms()
- This method returns the default algorithms with
their default priority keeping the security of the
ciphersuites in mind at all times.
- Returns:
- A byte array containing the names of the default encryption 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
getDefaultMACAlgorithms
public static byte[] getDefaultMACAlgorithms()
- This method returns the default MAC Algorithms with
their default priority keeping the security of the
ciphersuites in mind at all times.
- Returns:
- A byte array containing the names of the default MAC 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
removeAllMACAlgorithms
public static void removeAllMACAlgorithms()
- This class removes all the mac algorithms stored in the storage.
- 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
removeAllKeyExchangeAlgorithms
public static void removeAllKeyExchangeAlgorithms()
- This class removes all the keyex algorithms stored in the storage.
- 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
removeAllEncryptionAlgorithms
public static void removeAllEncryptionAlgorithms()
- This class removes all the encryption algorithms stored in the storage.
- 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
getDefaultKeyExchangeAlgorithms
public static byte[][] getDefaultKeyExchangeAlgorithms()
- This method returns the default MAC Algorithms with
their default priority keeping the security of the
ciphersuites in mind at all times.
- Returns:
- A byte array containing the names of the default key exchange 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
export
public static boolean export(byte cipher)
- This method checks to see if the encryption algorithm passed into this method
is considered to be of export strength. If so, it returns true and false
otherwise. It will return false if the algorithm is not supported.
- Parameters:
cipher - A byte representing the encryption algorithm to check.
- Returns:
- A boolean that indicates if the cipher suite is of export quality.
- 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