|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PublicKeyEncoderFlags
Constants defined for Encoders.
The constants may be OR'ed together.
PublicKeyEncoder
Field Summary | ||
---|---|---|
|
static long |
COMPRESS_EC_PUBLIC_KEYS
Indicates that Elliptic Curve (EC) public keys must be encoded in a compressed format. |
|
static long |
DO_NOT_COMPRESS_EC_PUBLIC_KEYS
Indicates that EC public keys must not be encoded in a compressed format. |
|
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 |
---|
static final long DO_NOT_ENCODE_CRYPTOSYSTEM_PARAMETERS
This can be used to minimize the length of a public key encoding.
static final long COMPRESS_EC_PUBLIC_KEYS
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.
static final long DO_NOT_COMPRESS_EC_PUBLIC_KEYS
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.