org.eclipse.higgins.keystore.common.utils
Class Asn1Node
java.lang.Object
org.eclipse.higgins.keystore.common.utils.Asn1Node
- public class Asn1Node
- extends Object
Type_None
public static final int Type_None
- See Also:
- Constant Field Values
Primitive
public static final int Primitive
- See Also:
- Constant Field Values
Constructed
public static final int Constructed
- See Also:
- Constant Field Values
Class_None
public static final int Class_None
- See Also:
- Constant Field Values
Universal
public static final int Universal
- See Also:
- Constant Field Values
Application
public static final int Application
- See Also:
- Constant Field Values
Ber_Context
public static final int Ber_Context
- See Also:
- Constant Field Values
Private
public static final int Private
- See Also:
- Constant Field Values
Z_ERROR
public static final int Z_ERROR
- See Also:
- Constant Field Values
Z_OK
public static final int Z_OK
- See Also:
- Constant Field Values
tag_Boolean
public static final byte tag_Boolean
- See Also:
- Constant Field Values
tag_Integer
public static final byte tag_Integer
- See Also:
- Constant Field Values
tag_BitString
public static final byte tag_BitString
- See Also:
- Constant Field Values
tag_OctetString
public static final byte tag_OctetString
- See Also:
- Constant Field Values
tag_Null
public static final byte tag_Null
- See Also:
- Constant Field Values
tag_ObjectId
public static final byte tag_ObjectId
- See Also:
- Constant Field Values
tag_Enumerated
public static final byte tag_Enumerated
- See Also:
- Constant Field Values
tag_UTF8String
public static final byte tag_UTF8String
- See Also:
- Constant Field Values
tag_PrintableString
public static final byte tag_PrintableString
- See Also:
- Constant Field Values
tag_T61String
public static final byte tag_T61String
- See Also:
- Constant Field Values
tag_IA5String
public static final byte tag_IA5String
- See Also:
- Constant Field Values
tag_UtcTime
public static final byte tag_UtcTime
- See Also:
- Constant Field Values
tag_GeneralizedTime
public static final byte tag_GeneralizedTime
- See Also:
- Constant Field Values
tag_GeneralString
public static final byte tag_GeneralString
- See Also:
- Constant Field Values
tag_UniversalString
public static final byte tag_UniversalString
- See Also:
- Constant Field Values
tag_BMPString
public static final byte tag_BMPString
- See Also:
- Constant Field Values
tag_Sequence
public static final byte tag_Sequence
- See Also:
- Constant Field Values
tag_SequenceOf
public static final byte tag_SequenceOf
- See Also:
- Constant Field Values
tag_Set
public static final byte tag_Set
- See Also:
- Constant Field Values
tag_SetOf
public static final byte tag_SetOf
- See Also:
- Constant Field Values
getInstance
public static Asn1Node getInstance(byte[] value)
getInstance
public static Asn1Node getInstance(InputStream stream)
getTag
public int getTag()
setTag
public void setTag(int tag)
isUniversal
public boolean isUniversal()
isApplication
public boolean isApplication()
isContextSpecific
public boolean isContextSpecific()
isContextSpecific
public boolean isContextSpecific(byte byte0)
isConstructed
public boolean isConstructed()
isConstructed
public boolean isConstructed(byte byte0)
getCollection
public List getCollection()
setCollection
public void setCollection(ArrayList collection)
getValue
public byte[] getValue()
setValue
public void setValue(byte[] value)
getValueAsString
public String getValueAsString()
throws UnsupportedEncodingException
- Returns:
-
- Throws:
CertificateParsingException
UnsupportedEncodingException
getValueAsIA5String
public String getValueAsIA5String()
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
getValueAsBMPString
public String getValueAsBMPString()
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
getValueAsGeneralString
public String getValueAsGeneralString()
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
getValueAsT61String
public String getValueAsT61String()
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
getValueAsPrintableString
public String getValueAsPrintableString()
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
getValueAsUTF8String
public String getValueAsUTF8String()
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
getInteger
public int getInteger()
throws CertificateParsingException
- Throws:
CertificateParsingException
getBigInteger
public BigInteger getBigInteger()
throws CertificateParsingException
- Throws:
CertificateParsingException