net.rim.device.api.crypto.encoder
Interface PublicKeyEncoderFlags


public interface PublicKeyEncoderFlags

Constants defined for Encoders.

The constants may be OR'ed together.

See Also:
PublicKeyEncoder
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 long COMPRESS_EC_PUBLIC_KEYS
          Indicates that Elliptic Curve (EC) public keys must be encoded in a compressed format.
Category: Signed static long DO_NOT_COMPRESS_EC_PUBLIC_KEYS
          Indicates that EC public keys must not be encoded in a compressed format.
Category: Signed static long DO_NOT_ENCODE_CRYPTOSYSTEM_PARAMETERS
          Indicates that the domain parameters associated with the public key's crypto system should not be encoded with the public key.
 



Field Detail

DO_NOT_ENCODE_CRYPTOSYSTEM_PARAMETERS

static final long DO_NOT_ENCODE_CRYPTOSYSTEM_PARAMETERS
Indicates that the domain parameters associated with the public key's crypto system should not be encoded with the public key.

This can be used to minimize the length of a public key encoding.

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

COMPRESS_EC_PUBLIC_KEYS

static final long COMPRESS_EC_PUBLIC_KEYS
Indicates that Elliptic Curve (EC) public keys must be encoded in a compressed format.

Note that COMPRESS_EC_PUBLIC_KEYS takes precedence over DO_NOT_COMPRESS_EC_PUBLIC_KEYS.

Note the absence of both COMPRESS_EC_PUBLIC_KEYS and DO_NOT_COMPRESS_EC_PUBLIC_KEYS indicates that EC public keys may be encoded in a compressed or uncompressed format. The compressed format is suggested.

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

DO_NOT_COMPRESS_EC_PUBLIC_KEYS

static final long DO_NOT_COMPRESS_EC_PUBLIC_KEYS
Indicates that EC public keys must not be encoded in a compressed format.

Note that COMPRESS_EC_PUBLIC_KEYS takes precedence over DO_NOT_COMPRESS_EC_PUBLIC_KEYS.

Note the absence of both COMPRESS_EC_PUBLIC_KEYS and DO_NOT_COMPRESS_EC_PUBLIC_KEYS indicates that EC public keys will be encoded using the default encoding of the key. The compressed format is suggested.

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





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