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
Category: Signed static int APPLICATION_SPECIFIC_CLASS_FLAG
          A 2-bit flag used to indicate the tag is Application-specific.
Category: Signed static int BIT_STRING
          The DER tag for the ASN.1 BIT_STRING primitive type.
Category: Signed static int BMP_STRING
          The DER tag for the ASN.1 BMP_STRING primitive type.
Category: Signed static int BOOLEAN
          The DER tag for the ASN.1 BOOLEAN primitive type.
Category: Signed static int CLASS_MASK
          A bitmask for the class flags of the Identifier octet.
Category: Signed static int CONSTRUCTED_FLAG
          A flag used to indicate that an arbitrarily large construction has been formed from other ASN.1 types.
Category: Signed static int CONTEXT_SPECIFIC_CLASS_FLAG
          A 2-bit flag used to indicate the tag is Context-specific.
Category: Signed static int ENUMERATED
          The DER tag for the ASN.1 ENUMERATED primitive type.
Category: Signed static int GENERALIZED_TIME
          The DER tag for the ASN.1 GENERALIZED_TIME primitive type.
Category: Signed static int IA5_STRING
          The DER tag for the ASN.1 IA5_STRING primitive type.
Category: Signed static int INTEGER
          The DER tag for the ASN.1 INTEGER primitive type.
Category: Signed static int NULL
          The DER tag for the ASN.1 NULL primitive type.
Category: Signed static int OBJECT_IDENTIFIER
          The DER tag for the ASN.1 INTEGER primitive type.
Category: Signed static int OCTET_STRING
          The DER tag for the ASN.1 OCTET_STRING primitive type.
Category: Signed static int PRINTABLE_STRING
          The DER tag for the ASN.1 PRINTABLE_STRING primitive type.
Category: Signed static int PRIVATE_CLASS_FLAG
          A 2-bit flag used to indicate the tag is Private.
Category: Signed static int SEQUENCE
          The DER tag for the ASN.1 SEQUENCE constructed type.
Category: Signed static int SET
          The DER tag for the ASN.1 SET constructed type.
Category: Signed static int T61_STRING
          The DER tag for the ASN.1 INTEGER primitive type.
Category: Signed static int TAG_EXPLICIT
          Represents explicit tagging used in the ASN.1 stream.
Category: Signed static int TAG_IMPLICIT
          Represents implicit tagging used in the ASN.1 stream.
Category: Signed static int TAG_MASK
          A bitmask for the DER tag of the Identifier octet.
Category: Signed static int TAG_NONE
          Represents no tagging used in the ASN.1 stream.
Category: Signed static int UNIVERSAL_CLASS_FLAG
          A 2-bit flag used to indicate the tag is Universal.
Category: Signed static int UTC_TIME
          The DER tag for the ASN.1 UTC_TIME primitive type.
Category: Signed static int UTF8_STRING
          The DER tag for the ASN.1 UTF8_STRING primitive type.
 



Field Detail

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