SHOW Signed
 

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


public interface PublicKeyEncoderFlags

Constants defined for Encoders.

The constants may be OR'ed together.

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:
JDE 3.6.0
See Also:
PublicKeyEncoder

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

COMPRESS_EC_PUBLIC_KEYS

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

Since:
JDE 3.6.0
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.

DO_NOT_COMPRESS_EC_PUBLIC_KEYS

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

Since:
JDE 3.6.0
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.

DO_NOT_ENCODE_CRYPTOSYSTEM_PARAMETERS

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

Since:
JDE 3.6.0
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.



Copyright 1999-2009 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.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.