java.lang.Object
org.elasticsearch.common.ssl.DerParser.Asn1Object
- Enclosing class:
DerParser
An ASN.1 TLV. The object is not parsed. It can
only handle integers.
-
Field Details
-
type
protected final int type -
length
protected final int length -
value
protected final byte[] value -
tag
protected final int tag
-
-
Method Details
-
getType
public int getType() -
getLength
public int getLength() -
getValue
public byte[] getValue() -
isConstructed
public boolean isConstructed() -
getParser
For constructed field, return a parser for its content.- Returns:
- A parser for the construct.
- Throws:
IOException
-
getInteger
Get the value as integer- Returns:
- BigInteger
- Throws:
IOException
-
getString
- Throws:
IOException
-
getOid
- Throws:
IOException
-