org.ldaptive.asn1
Class ApplicationDERTag

java.lang.Object
  extended by org.ldaptive.asn1.AbstractDERTag
      extended by org.ldaptive.asn1.ApplicationDERTag
All Implemented Interfaces:
DERTag

public class ApplicationDERTag
extends AbstractDERTag

Generic application-specific tag.

Version:
$Revision: 2885 $
Author:
Middleware Services

Field Summary
static int TAG_CLASS
          Application class is 01b in first two high-order bits.
static String TAG_NAME
          Generic tag name "APP" for a application-specific type.
 
Fields inherited from interface org.ldaptive.asn1.DERTag
ASN_CONSTRUCTED
 
Constructor Summary
ApplicationDERTag(int number, boolean isConstructed)
          Creates a new application-specific tag with given tag number.
 
Method Summary
 int getTagByte()
          Gets the value of this tag for encoding.
 String name()
          Gets the name of the tag.
 String toString()
          
 
Methods inherited from class org.ldaptive.asn1.AbstractDERTag
getTagNo, isConstructed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TAG_NAME

public static final String TAG_NAME
Generic tag name "APP" for a application-specific type.

See Also:
Constant Field Values

TAG_CLASS

public static final int TAG_CLASS
Application class is 01b in first two high-order bits.

See Also:
Constant Field Values
Constructor Detail

ApplicationDERTag

public ApplicationDERTag(int number,
                         boolean isConstructed)
Creates a new application-specific tag with given tag number.

Parameters:
number - Tag number.
isConstructed - True for constructed tag, false otherwise.
Method Detail

getTagByte

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

Specified by:
getTagByte in interface DERTag
Overrides:
getTagByte in class AbstractDERTag
Returns:
byte value of this tag

name

public String name()
Gets the name of the tag.

Returns:
tag name.

toString

public String toString()

Overrides:
toString in class AbstractDERTag


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