net.rim.device.api.crypto.asn1
Interface DERTags
public interface DERTags
DERTags is a enumeration of the different possibilities for ASN.1 types.
The values of these enumeration elements are the values of the tags for encodings
of the types as seen in a Distinct Encoding Rules (DER) stream.
- 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 |
|
static int |
APPLICATION_SPECIFIC_CLASS_FLAG
A 2-bit flag used to indicate the tag is Application-specific. |
|
static int |
BIT_STRING
The DER tag for the ASN.1 BIT_STRING primitive type. |
|
static int |
BMP_STRING
The DER tag for the ASN.1 BMP_STRING primitive type. |
|
static int |
BOOLEAN
The DER tag for the ASN.1 BOOLEAN primitive type. |
|
static int |
CLASS_MASK
A bitmask for the class flags of the Identifier octet. |
|
static int |
CONSTRUCTED_FLAG
A flag used to indicate that an arbitrarily large construction has been formed
from other ASN.1 types. |
|
static int |
CONTEXT_SPECIFIC_CLASS_FLAG
A 2-bit flag used to indicate the tag is Context-specific. |
|
static int |
ENUMERATED
The DER tag for the ASN.1 ENUMERATED primitive type. |
|
static int |
GENERALIZED_TIME
The DER tag for the ASN.1 GENERALIZED_TIME primitive type. |
|
static int |
IA5_STRING
The DER tag for the ASN.1 IA5_STRING primitive type. |
|
static int |
INTEGER
The DER tag for the ASN.1 INTEGER primitive type. |
|
static int |
NULL
The DER tag for the ASN.1 NULL primitive type. |
|
static int |
OBJECT_IDENTIFIER
The DER tag for the ASN.1 INTEGER primitive type. |
|
static int |
OCTET_STRING
The DER tag for the ASN.1 OCTET_STRING primitive type. |
|
static int |
PRINTABLE_STRING
The DER tag for the ASN.1 PRINTABLE_STRING primitive type. |
|
static int |
PRIVATE_CLASS_FLAG
A 2-bit flag used to indicate the tag is Private. |
|
static int |
SEQUENCE
The DER tag for the ASN.1 SEQUENCE constructed type. |
|
static int |
SET
The DER tag for the ASN.1 SET constructed type. |
|
static int |
T61_STRING
The DER tag for the ASN.1 INTEGER primitive type. |
|
static int |
TAG_EXPLICIT
Represents explicit tagging used in the ASN.1 stream. |
|
static int |
TAG_IMPLICIT
Represents implicit tagging used in the ASN.1 stream. |
|
static int |
TAG_MASK
A bitmask for the DER tag of the Identifier octet. |
|
static int |
TAG_NONE
Represents no tagging used in the ASN.1 stream. |
|
static int |
UNIVERSAL_CLASS_FLAG
A 2-bit flag used to indicate the tag is Universal. |
|
static int |
UTC_TIME
The DER tag for the ASN.1 UTC_TIME primitive type. |
|
static int |
UTF8_STRING
The DER tag for the ASN.1 UTF8_STRING primitive type. |
TAG_EXPLICIT
static final int TAG_EXPLICIT
- Represents explicit tagging used in the ASN.1 stream.
- 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
TAG_IMPLICIT
static final int TAG_IMPLICIT
- Represents implicit tagging used in the ASN.1 stream.
- 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
TAG_NONE
static final int TAG_NONE
- Represents no tagging used in the ASN.1 stream.
- 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
CONSTRUCTED_FLAG
static final int CONSTRUCTED_FLAG
- A flag used to indicate that an arbitrarily large construction has been formed
from other ASN.1 types.
- 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
CLASS_MASK
static final int CLASS_MASK
- A bitmask for the class flags of the Identifier octet.
- 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 4.0.0
UNIVERSAL_CLASS_FLAG
static final int UNIVERSAL_CLASS_FLAG
- A 2-bit flag used to indicate the tag is Universal.
- 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
APPLICATION_SPECIFIC_CLASS_FLAG
static final int APPLICATION_SPECIFIC_CLASS_FLAG
- A 2-bit flag used to indicate the tag is Application-specific.
- 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
CONTEXT_SPECIFIC_CLASS_FLAG
static final int CONTEXT_SPECIFIC_CLASS_FLAG
- A 2-bit flag used to indicate the tag is Context-specific.
- 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
PRIVATE_CLASS_FLAG
static final int PRIVATE_CLASS_FLAG
- A 2-bit flag used to indicate the tag is Private.
- 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
TAG_MASK
static final int TAG_MASK
- A bitmask for the DER tag of the Identifier octet.
- 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 4.0.0
BOOLEAN
static final int BOOLEAN
- The DER tag for the ASN.1 BOOLEAN primitive type. The value of this type
is
true
or false
.
- 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
INTEGER
static final int INTEGER
- The DER tag for the ASN.1 INTEGER primitive type. The value of this type
is an arbitrarily large integer in network (big endian) byte-order format.
- 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
ENUMERATED
static final int ENUMERATED
- The DER tag for the ASN.1 ENUMERATED primitive type. The value of this type
is that of the integer it represents.
- 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
BIT_STRING
static final int BIT_STRING
- The DER tag for the ASN.1 BIT_STRING primitive type. The value of this type
is an arbitrarily long string of bits padded in front with 8 unset bits, and
padded at the back with the number of zero bits required to bring the number
of bits up to a number which is zero modulo eight.
- 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
OCTET_STRING
static final int OCTET_STRING
- The DER tag for the ASN.1 OCTET_STRING primitive type. The value of this type
is an arbitrarily long string of bytes (which can range in value between
0 and 255, inclusive).
- 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
NULL
static final int NULL
- The DER tag for the ASN.1 NULL primitive type. This type has only one value:
null
.
- 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
OBJECT_IDENTIFIER
static final int OBJECT_IDENTIFIER
- The DER tag for the ASN.1 INTEGER primitive type. The value of this type
is string of non-negative integers in dotted-decimal format.
- See Also:
The OID class for more information on the dotted-decimal
format.
,
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
SEQUENCE
static final int SEQUENCE
- The DER tag for the ASN.1 SEQUENCE constructed type. This type is called
constructed because it is formed from concatenating other ASN.1 types in
a known order.
- 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
SET
static final int SET
- The DER tag for the ASN.1 SET constructed type. This type is called
constructed because there is a choice of different types that could
be read when reading a set.
- 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
UTF8_STRING
static final int UTF8_STRING
- The DER tag for the ASN.1 UTF8_STRING primitive type. The value of this type
is a string in UTF8 format.
- 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
PRINTABLE_STRING
static final int PRINTABLE_STRING
- The DER tag for the ASN.1 PRINTABLE_STRING primitive type. The
value of this type is an arbitrarily long printable string. A
printable string is a string which uses a subset of possible
characters, which are the printable characters.
- 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
T61_STRING
static final int T61_STRING
- The DER tag for the ASN.1 INTEGER primitive type. The value of this type
is a T61 string.
- 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
IA5_STRING
static final int IA5_STRING
- The DER tag for the ASN.1 IA5_STRING primitive type. The value of this type
is a IA5 string.
- 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
UTC_TIME
static final int UTC_TIME
- The DER tag for the ASN.1 UTC_TIME primitive type. The value of this type
is a string in DER-encoded UTC-time representation.
- 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
GENERALIZED_TIME
static final int GENERALIZED_TIME
- The DER tag for the ASN.1 GENERALIZED_TIME primitive type. The value of this type
is a string in DER-encoded Generalized-time representation.
- 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
BMP_STRING
static final int BMP_STRING
- The DER tag for the ASN.1 BMP_STRING primitive type. The value of this type
is a BMP string.
- 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-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.