org.ldaptive.asn1
Class CustomDERTag

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

public class CustomDERTag
extends AbstractDERTag

Describes the tag of an application-specific, context-specific, or private DER type where the tag name may be specified for clarity in application code.

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

Field Summary
 
Fields inherited from interface org.ldaptive.asn1.DERTag
ASN_CONSTRUCTED
 
Constructor Summary
CustomDERTag(int number, String name, boolean isConstructed)
          Creates a new custom DER tag.
 
Method Summary
 String name()
          Gets the name of the tag.
 String toString()
          
 
Methods inherited from class org.ldaptive.asn1.AbstractDERTag
getTagByte, getTagNo, isConstructed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CustomDERTag

public CustomDERTag(int number,
                    String name,
                    boolean isConstructed)
Creates a new custom DER tag.

Parameters:
number - of the tag
name - of the tag
isConstructed - whether this tag is primitive or constructed
Method Detail

name

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

Returns:
tag name.

toString

public String toString()

Overrides:
toString in class AbstractDERTag


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