org.ldaptive.asn1
Interface DERTag

All Known Implementing Classes:
AbstractDERTag, ApplicationDERTag, ContextDERTag, CustomDERTag, UniversalDERTag

public interface DERTag

Describes the tag of a DER-encoded type.

Version:
$Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
Author:
Middleware Services

Field Summary
static int ASN_CONSTRUCTED
          Constructed tags should have the 6th bit set.
 
Method Summary
 int getTagByte()
          Gets the value of this tag for encoding.
 int getTagNo()
          Gets the decimal value of the tag.
 boolean isConstructed()
          Determines whether the tag is constructed or primitive.
 String name()
          Gets the name of the tag.
 

Field Detail

ASN_CONSTRUCTED

static final int ASN_CONSTRUCTED
Constructed tags should have the 6th bit set.

See Also:
Constant Field Values
Method Detail

getTagNo

int getTagNo()
Gets the decimal value of the tag.

Returns:
decimal tag number.

name

String name()
Gets the name of the tag.

Returns:
tag name.

isConstructed

boolean isConstructed()
Determines whether the tag is constructed or primitive.

Returns:
true if constructed, false if primitive.

getTagByte

int getTagByte()
Gets the value of this tag for encoding.

Returns:
byte value of this tag


Copyright © 2003-2015 Virginia Tech. All Rights Reserved.