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 clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

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

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 clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

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 clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

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 clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.


Copyright 1999-2004 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.