net.rim.device.api.crypto.tls.tls10
Class TLSCipherSuites

java.lang.Object
  extended by net.rim.device.api.crypto.tls.tls10.TLSCipherSuites

public class TLSCipherSuites
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

Field Summary
Category: Signed static int TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA
          SUPPORTED.
Category: Signed static int TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA
          SUPPORTED.
Category: Signed static int TLS_DHE_DSS_WITH_AES_128_CBC_SHA
          SUPPORTED.
Category: Signed static int TLS_DHE_DSS_WITH_AES_256_CBC_SHA
          SUPPORTED.
Category: Signed static int TLS_DHE_DSS_WITH_DES_CBC_SHA
          SUPPORTED.
Category: Signed static int TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA
          SUPPORTED.
Category: Signed static int TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA
          SUPPORTED.
Category: Signed static int TLS_DHE_RSA_WITH_AES_128_CBC_SHA
          SUPPORTED.
Category: Signed static int TLS_DHE_RSA_WITH_AES_256_CBC_SHA
          SUPPORTED.
Category: Signed static int TLS_DHE_RSA_WITH_DES_CBC_SHA
          SUPPORTED.
Category: Signed static int TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA
          NOT SUPPORTED AND FUTURE SUPPORT NOT LIKELY.
Category: Signed static int TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA
          CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Category: Signed static int TLS_DH_DSS_WITH_AES_128_CBC_SHA
          CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Category: Signed static int TLS_DH_DSS_WITH_AES_256_CBC_SHA
          CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Category: Signed static int TLS_DH_DSS_WITH_DES_CBC_SHA
          CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Category: Signed static int TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA
          NOT SUPPORTED AND FUTURE SUPPORT NOT LIKELY.
Category: Signed static int TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA
          CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Category: Signed static int TLS_DH_RSA_WITH_AES_128_CBC_SHA
          CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Category: Signed static int TLS_DH_RSA_WITH_AES_256_CBC_SHA
          CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Category: Signed static int TLS_DH_RSA_WITH_DES_CBC_SHA
          CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Category: Signed static int TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA
          SUPPORTED.
Category: Signed static int TLS_DH_anon_EXPORT_WITH_RC4_40_MD5
          SUPPORTED.
Category: Signed static int TLS_DH_anon_WITH_3DES_EDE_CBC_SHA
          SUPPORTED.
Category: Signed static int TLS_DH_anon_WITH_AES_128_CBC_SHA
          SUPPORTED.
Category: Signed static int TLS_DH_anon_WITH_AES_256_CBC_SHA
          SUPPORTED.
Category: Signed static int TLS_DH_anon_WITH_DES_CBC_SHA
          SUPPORTED.
Category: Signed static int TLS_DH_anon_WITH_RC4_128_MD5
          SUPPORTED.
Category: Signed static int TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA
          CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Category: Signed static int TLS_ECDH_ECDSA_WITH_DES_CBC_SHA
          CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Category: Signed static int TLS_ECDH_ECDSA_WITH_NULL_SHA
          NOT SUPPORTED AND FUTURE SUPPORT NOT LIKELY.
Category: Signed static int TLS_ECDH_ECDSA_WITH_RC4_128_SHA
          CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Category: Signed static int TLS_ECDH_RSA_EXPORT_WITH_RC4_40_SHA
          CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Category: Signed static int TLS_ECDH_RSA_EXPORT_WITH_RC4_56_SHA
          CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Category: Signed static int TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA
          CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Category: Signed static int TLS_ECDH_RSA_WITH_AES_128_CBC_SHA
          CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Category: Signed static int TLS_ECDH_RSA_WITH_AES_256_CBC_SHA
          CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Category: Signed static int TLS_ECDH_RSA_WITH_DES_CBC_SHA
          CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Category: Signed static int TLS_ECDH_RSA_WITH_NULL_SHA
          NOT SUPPORTED AND FUTURE SUPPORT NOT LIKELY.
Category: Signed static int TLS_ECDH_RSA_WITH_RC4_128_SHA
          CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Category: Signed static int TLS_ECDH_anon_EXPORT_WITH_DES40_CBC_SHA
          CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Category: Signed static int TLS_ECDH_anon_EXPORT_WITH_RC4_40_SHA
          CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Category: Signed static int TLS_ECDH_anon_NULL_WITH_SHA
          NOT SUPPORTED AND FUTURE SUPPORT NOT LIKELY.
Category: Signed static int TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA
          CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Category: Signed static int TLS_ECDH_anon_WITH_DES_CBC_SHA
          CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Category: Signed static int TLS_ECDH_anon_WITH_RC4_128_SHA
          CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Category: Signed static int TLS_NULL_WITH_NULL_NULL
          Not Allowed to Negotiate To.
Category: Signed static int TLS_RSA_EXPORT_WITH_DES40_CBC_SHA
          SUPPORTED.
Category: Signed static int TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5
          CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.
Category: Signed static int TLS_RSA_EXPORT_WITH_RC4_40_MD5
          SUPPORTED.
Category: Signed static int TLS_RSA_WITH_3DES_EDE_CBC_SHA
          SUPPORTED.
Category: Signed static int TLS_RSA_WITH_AES_128_CBC_SHA
          SUPPORTED.
Category: Signed static int TLS_RSA_WITH_AES_256_CBC_SHA
          SUPPORTED.
Category: Signed static int TLS_RSA_WITH_DES_CBC_SHA
          SUPPORTED.
Category: Signed static int TLS_RSA_WITH_IDEA_CBC_SHA
          NOT SUPPORTED AND FUTURE SUPPORT NOT LIKELY.
Category: Signed static int TLS_RSA_WITH_NULL_MD5
          NOT SUPPORTED AND FUTURE SUPPORT NOT LIKELY.
Category: Signed static int TLS_RSA_WITH_NULL_SHA
          NOT SUPPORTED AND FUTURE SUPPORT NOT LIKELY.
Category: Signed static int TLS_RSA_WITH_RC4_128_MD5
          SUPPORTED.
Category: Signed static int TLS_RSA_WITH_RC4_128_SHA
          SUPPORTED.
 
Method Summary
Category: Signed static void addCipherSuite(int cipherSuite, int priority)
          Add a cipher suite with the specified priority.
Category: Signed 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.
Category: Signed 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.
Category: Signed static int[] getPriority()
          This method returns the array of cipher suites currently stored with their appropriate priority (first in the array has most priority).
Category: Signed static String getPublicKeyAlgorithm(int cipherSuite)
          Return the associated public key algorithm used on the cipher suite.
Category: Signed static int[] getSupportedCipherSuites()
          Returns an integer array comprising of the supported cipher suites for the SSL implementation on the RIM device.
Category: Signed static int[] getSupportedExportCipherSuites()
          Returns a copy of the supported export cipher suites for the RIM implementation of SSL.
Category: Signed static int[] getSupportedFIPSExportCipherSuites()
          Returns a copy of the supported FIPS export cipher suites for the RIM implementation of SSL.
Category: Signed static int[] getSupportedFIPSNonExportCipherSuites()
          Returns a copy of the supported FIPS non-export cipher suites for the RIM implementation of SSL.
Category: Signed static int[] getSupportedNonExportCipherSuites()
          Returns a copy of the supported non-export cipher suites for the RIM implementation of SSL.
Category: Signed static boolean notSupported(int cipherSuite)
          This method checks to see if the cipher suite is contained in our supported list of cipher suites.
Category: Signed 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.
Category: Signed static void removeAll()
          This method removes all of the cipher suites from the current saved list.
Category: Signed static void removeCipherSuite(int cipherSuite)
          Removes the specified cipher suite from the priority list.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Field Detail

TLS_NULL_WITH_NULL_NULL

public static final int TLS_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

TLS_DH_anon_EXPORT_WITH_RC4_40_MD5

public static final int TLS_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

TLS_RSA_EXPORT_WITH_RC4_40_MD5

public static final int TLS_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

TLS_RSA_EXPORT_WITH_DES40_CBC_SHA

public static final int TLS_RSA_EXPORT_WITH_DES40_CBC_SHA
SUPPORTED.

Represents a 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

TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA

public static final int TLS_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

TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA

public static final int TLS_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

TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA

public static final int TLS_DHE_RSA_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

TLS_RSA_WITH_RC4_128_MD5

public static final int TLS_RSA_WITH_RC4_128_MD5
SUPPORTED.

This cipher suite 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

TLS_RSA_WITH_RC4_128_SHA

public static final int TLS_RSA_WITH_RC4_128_SHA
SUPPORTED.

Represents a 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

TLS_RSA_WITH_3DES_EDE_CBC_SHA

public static final int TLS_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

TLS_RSA_WITH_AES_128_CBC_SHA

public static final int TLS_RSA_WITH_AES_128_CBC_SHA
SUPPORTED.

Represents an RSA key exchange, AES 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

TLS_RSA_WITH_AES_256_CBC_SHA

public static final int TLS_RSA_WITH_AES_256_CBC_SHA
SUPPORTED.

Represents an RSA key exchange, AES 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

TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA

public static final int TLS_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

TLS_DHE_DSS_WITH_AES_128_CBC_SHA

public static final int TLS_DHE_DSS_WITH_AES_128_CBC_SHA
SUPPORTED.

Represents a DHE key exchange signed by DSS using AES and SHA.

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

TLS_DHE_DSS_WITH_AES_256_CBC_SHA

public static final int TLS_DHE_DSS_WITH_AES_256_CBC_SHA
SUPPORTED.

Represents a DHE key exchange signed by DSS using AES and SHA.

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

TLS_DH_anon_WITH_AES_128_CBC_SHA

public static final int TLS_DH_anon_WITH_AES_128_CBC_SHA
SUPPORTED.

Represents a DH anonymous key exchange using AES and SHA.

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

TLS_DH_anon_WITH_AES_256_CBC_SHA

public static final int TLS_DH_anon_WITH_AES_256_CBC_SHA
SUPPORTED.

Represents a DH anonymous key exchange using AES and SHA.

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

TLS_DH_anon_WITH_RC4_128_MD5

public static final int TLS_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

TLS_DH_anon_WITH_3DES_EDE_CBC_SHA

public static final int TLS_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

TLS_DH_anon_WITH_DES_CBC_SHA

public static final int TLS_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

TLS_DHE_DSS_WITH_DES_CBC_SHA

public static final int TLS_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

TLS_RSA_WITH_DES_CBC_SHA

public static final int TLS_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

TLS_ECDH_ECDSA_WITH_RC4_128_SHA

public static final int TLS_ECDH_ECDSA_WITH_RC4_128_SHA
CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.

Represents an ECDH_ECDSA key exchange, RC4 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

TLS_ECDH_ECDSA_WITH_DES_CBC_SHA

public static final int TLS_ECDH_ECDSA_WITH_DES_CBC_SHA
CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.

Represents an ECDH_ECDSA 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

TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA

public static final int TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA
CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.

Represents an ECDH_ECDSA 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

TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5

public static final int TLS_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

TLS_DH_DSS_WITH_DES_CBC_SHA

public static final int TLS_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

TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA

public static final int TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA
CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.

This cipher suite 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

TLS_DH_DSS_WITH_AES_128_CBC_SHA

public static final int TLS_DH_DSS_WITH_AES_128_CBC_SHA
CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.

Represents a DH key exchange signed by DSS using AES and SHA.

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

TLS_DH_DSS_WITH_AES_256_CBC_SHA

public static final int TLS_DH_DSS_WITH_AES_256_CBC_SHA
CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.

Represents a DH key exchange signed by DSS using AES and SHA.

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

TLS_DH_RSA_WITH_AES_128_CBC_SHA

public static final int TLS_DH_RSA_WITH_AES_128_CBC_SHA
CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.

Represents a DH key exchange signed by RSA using AES and SHA.

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

TLS_DH_RSA_WITH_DES_CBC_SHA

public static final int TLS_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

TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA

public static final int TLS_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

TLS_DH_RSA_WITH_AES_256_CBC_SHA

public static final int TLS_DH_RSA_WITH_AES_256_CBC_SHA
CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.

Represents a DH key exchange signed by RSA using AES and SHA.

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

TLS_DHE_RSA_WITH_DES_CBC_SHA

public static final int TLS_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

TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA

public static final int TLS_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

TLS_DHE_RSA_WITH_AES_128_CBC_SHA

public static final int TLS_DHE_RSA_WITH_AES_128_CBC_SHA
SUPPORTED.

Represents a DHE key exchange signed by RSA using AES and SHA.

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

TLS_DHE_RSA_WITH_AES_256_CBC_SHA

public static final int TLS_DHE_RSA_WITH_AES_256_CBC_SHA
SUPPORTED.

Represents a DHE key exchange signed by RSA using AES and SHA.

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

TLS_ECDH_RSA_WITH_RC4_128_SHA

public static final int TLS_ECDH_RSA_WITH_RC4_128_SHA
CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.

Represents a ECDH key exchange signed by RSA using RC4 and SHA.

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

TLS_ECDH_RSA_WITH_DES_CBC_SHA

public static final int TLS_ECDH_RSA_WITH_DES_CBC_SHA
CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.

Represents a ECDH key exchange signed by RSA using DES and SHA.

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

TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA

public static final int TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA
CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.

Represents a ECDH key exchange signed by RSA using Triple DES and SHA.

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

TLS_ECDH_RSA_WITH_AES_128_CBC_SHA

public static final int TLS_ECDH_RSA_WITH_AES_128_CBC_SHA
CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.

Represents a ECDH key exchange signed by RSA using AES and SHA.

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

TLS_ECDH_RSA_WITH_AES_256_CBC_SHA

public static final int TLS_ECDH_RSA_WITH_AES_256_CBC_SHA
CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.

Represents a ECDH key exchange signed by RSA using AES and SHA.

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

TLS_ECDH_RSA_EXPORT_WITH_RC4_40_SHA

public static final int TLS_ECDH_RSA_EXPORT_WITH_RC4_40_SHA
CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.

Represents a ECDH key exchange signed by RSA using RC4 and SHA.

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

TLS_ECDH_RSA_EXPORT_WITH_RC4_56_SHA

public static final int TLS_ECDH_RSA_EXPORT_WITH_RC4_56_SHA
CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.

Represents a ECDH key exchange signed by RSA using RC4 and SHA.

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

TLS_ECDH_anon_EXPORT_WITH_DES40_CBC_SHA

public static final int TLS_ECDH_anon_EXPORT_WITH_DES40_CBC_SHA
CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.

Represents an ECDH_anon 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

TLS_ECDH_anon_EXPORT_WITH_RC4_40_SHA

public static final int TLS_ECDH_anon_EXPORT_WITH_RC4_40_SHA
CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.

Represents an ECDH_anon key exchange, RC4 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

TLS_ECDH_anon_WITH_RC4_128_SHA

public static final int TLS_ECDH_anon_WITH_RC4_128_SHA
CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.

Represents an ECDH_anon key exchange, RC4 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

TLS_ECDH_anon_WITH_DES_CBC_SHA

public static final int TLS_ECDH_anon_WITH_DES_CBC_SHA
CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.

Represents an ECDH_anon 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

TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA

public static final int TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA
CURRENTLY NOT SUPPORTED BUT COULD CHANGE IN FUTURE.

Represents an ECDH_anon 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

TLS_RSA_WITH_IDEA_CBC_SHA

public static final int TLS_RSA_WITH_IDEA_CBC_SHA
NOT SUPPORTED AND FUTURE SUPPORT NOT LIKELY.

Represents an 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

TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA

public static final int TLS_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

TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA

public static final int TLS_DH_RSA_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

TLS_RSA_WITH_NULL_MD5

public static final int TLS_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

TLS_RSA_WITH_NULL_SHA

public static final int TLS_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

TLS_ECDH_ECDSA_WITH_NULL_SHA

public static final int TLS_ECDH_ECDSA_WITH_NULL_SHA
NOT SUPPORTED AND FUTURE SUPPORT NOT LIKELY.

Represents an ECDH 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

TLS_ECDH_RSA_WITH_NULL_SHA

public static final int TLS_ECDH_RSA_WITH_NULL_SHA
NOT SUPPORTED AND FUTURE SUPPORT NOT LIKELY.

Represents an ECDH 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

TLS_ECDH_anon_NULL_WITH_SHA

public static final int TLS_ECDH_anon_NULL_WITH_SHA
NOT SUPPORTED AND FUTURE SUPPORT NOT LIKELY.

Represents an ECDH 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


Method Detail

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 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

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 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

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 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

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 - The cipher suite 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

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 high bound.
lower - An integer representing 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

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.
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 cipher 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 3.6.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

getPublicKeyAlgorithm

public static String getPublicKeyAlgorithm(int cipherSuite)
Return the associated public key algorithm used on the cipher suite.

Parameters:
cipherSuite - The cipher suite to check.
Returns:
An enumerated integer matching constants defined in this class.
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.2





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.