net.rim.device.api.crypto.tls.ssl30
Class SSLCipherSuites
java.lang.Object
net.rim.device.api.crypto.tls.ssl30.SSLCipherSuites
public final class SSLCipherSuites
- extends Object
This class contains the necessary information for a developer or a user or an interested IT person
to determine and specify the cipher suites 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
Method Summary |
|
static void |
addCipherSuite(int cipherSuite,
int priority)
Add a cipher suite with the specified priority. |
|
static boolean |
export(int cipherSuite)
This method checks to see if the cipher suite passed into this method is considered to be of export strength. |
|
static int[] |
getDefaultCipherSuites()
This method sets up the default cipher suites with their default priority keeping the security of
the cipher suites in mind at all times. |
|
static int[] |
getPriority()
This method returns the array of cipher suites currently stored with their appropriate priority
(first in the array has most priority). |
|
static int[] |
getSupportedCipherSuites()
Returns an integer array comprising of the supported cipher suites for the SSL implementation on the RIM device. |
|
static int[] |
getSupportedExportCipherSuites()
Returns a copy of the supported export cipher suites for the RIM implementation of SSL. |
|
static int[] |
getSupportedFIPSExportCipherSuites()
Returns a copy of the supported FIPS export cipher suites for the RIM implementation of SSL. |
|
static int[] |
getSupportedFIPSNonExportCipherSuites()
Returns a copy of the supported FIPS non-export cipher suites for the RIM implementation of SSL. |
|
static int[] |
getSupportedNonExportCipherSuites()
Returns a copy of the supported non-export cipher suites for the RIM implementation of SSL. |
|
static boolean |
notSupported(int cipherSuite)
This method checks to see if the cipher suite is contained in our supported list of cipher suites. |
|
static void |
prioritize(int higher,
int lower)
This method ensures that the cipher suite passed in as higher will be higher than the cipher suite
passed in as lower . |
|
static void |
removeAll()
This method removes all of the cipher suites from the current saved list. |
|
static void |
removeCipherSuite(int cipherSuite)
Removes the specified cipher suite from the priority list. |
SSL_NULL_WITH_NULL_NULL
public static final int SSL_NULL_WITH_NULL_NULL
- Not Allowed to Negotiate To. According to the specification this is the default cipher suite
for any connection but it CANNOT be selected as the cipher suite for any negotiated connection.
Represents a null key exchange, null bulk cipher and null hash 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
SSL_RSA_EXPORT_WITH_RC4_40_MD5
public static final int SSL_RSA_EXPORT_WITH_RC4_40_MD5
- SUPPORTED.
Represents an RSA key exchange, RC4-40 stream cipher and MD5 hash 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
SSL_DH_anon_EXPORT_WITH_RC4_40_MD5
public static final int SSL_DH_anon_EXPORT_WITH_RC4_40_MD5
- SUPPORTED.
Represents a DH anonymous key exchange with RC4-40 block cipher and MD5 hash 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
SSL_RSA_EXPORT_WITH_DES40_CBC_SHA
public static final int SSL_RSA_EXPORT_WITH_DES40_CBC_SHA
- SUPPORTED.
Represents an RSA key exchange with DES-40 block cipher and SHA hash 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
SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA
public static final int SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA
- SUPPORTED.
Represents a DH Ephemeral key exchange with DES-40 block cipher and SHA hash 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
SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA
public static final int SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA
- SUPPORTED.
Represents a DH anonymous key exchange with DES-40 block cipher and SHA hash 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
SSL_DH_RSA_EXPORT_WITH_DES40_CBC_SHA
public static final int SSL_DH_RSA_EXPORT_WITH_DES40_CBC_SHA
- SUPPORTED.
Represents a DH key exchange with DES-40 block cipher and SHA hash 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
SSL_RSA_WITH_RC4_128_MD5
public static final int SSL_RSA_WITH_RC4_128_MD5
- SUPPORTED.
Represents an RSA key exchange, RC4 stream cipher and MD5 hash 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
SSL_RSA_WITH_RC4_128_SHA
public static final int SSL_RSA_WITH_RC4_128_SHA
- SUPPORTED.
Represents an RSA key exchange, RC4 stream cipher and SHA hash 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
SSL_RSA_WITH_3DES_EDE_CBC_SHA
public static final int SSL_RSA_WITH_3DES_EDE_CBC_SHA
- SUPPORTED.
Represents an RSA key exchange, triple DES block cipher and SHA hash 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
SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA
public static final int SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA
- SUPPORTED.
Represents a DH ephemeral key exchange where the certificate was signed by an DSS key,
triple DES block cipher and SHA hash 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
SSL_DH_anon_WITH_RC4_128_MD5
public static final int SSL_DH_anon_WITH_RC4_128_MD5
- SUPPORTED.
Represents a DH anonymous key exchange, RC4 stream cipher and MD5 hash 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
SSL_DH_anon_WITH_3DES_EDE_CBC_SHA
public static final int SSL_DH_anon_WITH_3DES_EDE_CBC_SHA
- SUPPORTED.
Represents a DH anonymous key exchange, triple DES block cipher and SHA hash 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
SSL_RSA_WITH_DES_CBC_SHA
public static final int SSL_RSA_WITH_DES_CBC_SHA
- SUPPORTED.
Represents an RSA key exchange, DES block cipher and SHA hash 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
SSL_DHE_DSS_WITH_DES_CBC_SHA
public static final int SSL_DHE_DSS_WITH_DES_CBC_SHA
- SUPPORTED.
Represents a DH ephemeral key exchange where the certificate was signed by an DSS key,
DES block cipher and SHA hash 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
SSL_DH_anon_WITH_DES_CBC_SHA
public static final int SSL_DH_anon_WITH_DES_CBC_SHA
- SUPPORTED.
Represents a DH anonymous key exchange, DES block cipher and SHA hash 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
SSL_DHE_RSA_WITH_DES_CBC_SHA
public static final int SSL_DHE_RSA_WITH_DES_CBC_SHA
- SUPPORTED.
Represents a DH ephemeral key exchange where the certificate was signed by an RSA key,
DES block cipher and SHA hash 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
SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA
public static final int SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA
- SUPPORTED.
Represents a DH ephemeral key exchange where the certificate was signed by an RSA key,
triple DES block cipher and SHA hash 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
SSL_DH_DSS_WITH_DES_CBC_SHA
public static final int SSL_DH_DSS_WITH_DES_CBC_SHA
- CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Represents a DH key exchange where the certificate was signed by a DSS key, DES block cipher
and SHA hash 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
SSL_DH_DSS_WITH_3DES_EDE_CBC_SHA
public static final int SSL_DH_DSS_WITH_3DES_EDE_CBC_SHA
- CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Represents a DH key exchange where the certificate was signed by a DSS key, triple DES block cipher
and SHA hash 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
SSL_DH_RSA_WITH_DES_CBC_SHA
public static final int SSL_DH_RSA_WITH_DES_CBC_SHA
- CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Represents a DH key exchange where the certificate was signed by an RSA key, DES block cipher
and SHA hash 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
SSL_DH_RSA_WITH_3DES_EDE_CBC_SHA
public static final int SSL_DH_RSA_WITH_3DES_EDE_CBC_SHA
- CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Represents a DH key exchange where the certificate was signed by an RSA key, triple DES block cipher
and SHA hash 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
SSL_FORTEZZA_KEA_WITH_NULL_SHA
public static final int SSL_FORTEZZA_KEA_WITH_NULL_SHA
- CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Represents a Fortezza/KEA key exchange, null cipher and SHA hash 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
SSL_FORTEZZA_KEA_WITH_FORTEZZA_CBC_SHA
public static final int SSL_FORTEZZA_KEA_WITH_FORTEZZA_CBC_SHA
- CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Represents a Fortezza/KEA key exchange, Fortezza block cipher and SHA hash 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
SSL_FORTEZZA_KEA_WITH_RC4_128_SHA
public static final int SSL_FORTEZZA_KEA_WITH_RC4_128_SHA
- CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Represents a Fortezza/KEA key exchange, RC4 stream cipher and SHA hash 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
SSL_RSA_EXPORT_WITH_RC2_CBC_40_MD5
public static final int SSL_RSA_EXPORT_WITH_RC2_CBC_40_MD5
- CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Represents an RSA key exchange, RC2-40 block cipher and MD5 hash 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
SSL_RSA_WITH_IDEA_CBC_SHA
public static final int SSL_RSA_WITH_IDEA_CBC_SHA
- NOT SUPPORTED AND FUTURE SUPPORT NOT LIKELY.
Represents a RSA key exchange with IDEA block cipher and SHA hash 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
SSL_DH_DSS_EXPORT_WITH_DES40_CBC_SHA
public static final int SSL_DH_DSS_EXPORT_WITH_DES40_CBC_SHA
- NOT SUPPORTED AND FUTURE SUPPORT NOT LIKELY.
Represents a DH key exchange with DES-40 block cipher and SHA hash 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
SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA
public static final int SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA
- NOT SUPPORTED AND FUTURE SUPPORT NOT LIKELY.
Represents a DH Ephemeral key exchange with DES-40 block cipher and SHA hash 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
SSL_RSA_WITH_NULL_MD5
public static final int SSL_RSA_WITH_NULL_MD5
- NOT SUPPORTED AND FUTURE SUPPORT NOT LIKELY.
Represents an RSA key exchange, null bulk cipher and MD5 hash 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
SSL_RSA_WITH_NULL_SHA
public static final int SSL_RSA_WITH_NULL_SHA
- NOT SUPPORTED AND FUTURE SUPPORT NOT LIKELY.
Represents an RSA key exchange, null bulk cipher and SHA-1 hash 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
getSupportedCipherSuites
public static int[] getSupportedCipherSuites()
- Returns an integer array comprising of the supported cipher suites for the SSL implementation on the RIM device.
- Returns:
- An array of integers representing the supported cipher suites.
- 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
getSupportedExportCipherSuites
public static int[] getSupportedExportCipherSuites()
- Returns a copy of the supported export cipher suites for the RIM implementation of SSL.
- Returns:
- An array of integers representing the supported export cipher suites.
- 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
getSupportedNonExportCipherSuites
public static int[] getSupportedNonExportCipherSuites()
- Returns a copy of the supported non-export cipher suites for the RIM implementation of SSL.
- Returns:
- An array of integers representing the unsupported export cipher suites.
- 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
getSupportedFIPSExportCipherSuites
public static int[] getSupportedFIPSExportCipherSuites()
- Returns a copy of the supported FIPS export cipher suites for the RIM implementation of SSL.
- Returns:
- An array of integers representing the supported cipher suites value.
- 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
getSupportedFIPSNonExportCipherSuites
public static int[] getSupportedFIPSNonExportCipherSuites()
- Returns a copy of the supported FIPS non-export cipher suites for the RIM implementation of SSL.
- Returns:
- An array of integers representing the supported cipher suites value.
- 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
addCipherSuite
public static void addCipherSuite(int cipherSuite,
int priority)
- Add a cipher suite 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:
cipherSuite
- The cipher suite to add.priority
- The priority of the cipher suite.- 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
removeCipherSuite
public static void removeCipherSuite(int cipherSuite)
- Removes the specified cipher suite from the priority list.
- Parameters:
cipherSuite
- An integer representing the priority of the cipher suite to be removed.- 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
removeAll
public static void removeAll()
- This method removes all of the cipher suites from the current saved list.
- 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
prioritize
public static void prioritize(int higher,
int lower)
- This method ensures that the cipher suite passed in as
higher
will be higher than the cipher suite
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 cipher suite. If one of higher or lower is not contained in the container then nothing is changed.
- Parameters:
higher
- An integer representing the higher of the two priorities.lower
- An integer representing the lower of the two priorities.- 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
getPriority
public static int[] getPriority()
- This method returns the array of cipher suites currently stored with their appropriate priority
(first in the array has most priority).
- Returns:
- An array of integers representing the cipher suites and their priorities.
- 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
getDefaultCipherSuites
public static int[] getDefaultCipherSuites()
- This method sets up the default cipher suites with their default priority keeping the security of
the cipher suites in mind at all times.
- Returns:
- An array containing the default cipher suites.
- 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
notSupported
public static boolean notSupported(int cipherSuite)
- This method checks to see if the cipher suite is contained in our supported list of cipher suites.
We will not allow people to choose a cipher suite that we do not currently support.
- 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.0.0
export
public static boolean export(int cipherSuite)
- This method checks to see if the cipher suite 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:
cipherSuite
- An integer representing the cipher suite 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-2010 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. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.