Package org.apache.kerby.asn1.type
Class Asn1OctetString
java.lang.Object
org.apache.kerby.asn1.type.Asn1Object
org.apache.kerby.asn1.type.Asn1Encodeable
org.apache.kerby.asn1.type.AbstractAsn1Type<T>
org.apache.kerby.asn1.type.Asn1Simple<byte[]>
org.apache.kerby.asn1.type.Asn1OctetString
- All Implemented Interfaces:
Asn1Type
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.kerby.asn1.type.Asn1Type
Asn1Type.EncodingType -
Field Summary
Fields inherited from class org.apache.kerby.asn1.type.Asn1Encodeable
bodyLength, outerEncodeable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddecodeBody(Asn1ParseResult parseResult) protected byte[]protected inttoString()Methods inherited from class org.apache.kerby.asn1.type.Asn1Simple
createSimple, createSimple, encodeBody, getBytes, isDefinitiveLength, isSimple, isSimple, isSimple, setBytes, toBytes, toValueMethods inherited from class org.apache.kerby.asn1.type.AbstractAsn1Type
getValue, setValueMethods inherited from class org.apache.kerby.asn1.type.Asn1Encodeable
decode, decode, decode, encode, encode, encodingHeaderLength, encodingLength, getBodyLength, getHeaderLength, isBER, isCER, isDER, isImplicit, isPrimitive, resetBodyLength, taggedDecode, taggedDecode, taggedDecode, taggedEncode, taggedEncode, taggedEncodingLength, useBER, useCER, useDefinitiveLength, useDER, useImplicit, usePrimitiveMethods inherited from class org.apache.kerby.asn1.type.Asn1Object
isAppSpecific, isCollection, isContextSpecific, isEOC, isNull, isSimple, isTagSpecific, isUniversal, simpleInfo, tag, tagFlags, tagNo
-
Constructor Details
-
Asn1OctetString
public Asn1OctetString() -
Asn1OctetString
public Asn1OctetString(byte[] value)
-
-
Method Details
-
encodeBody
protected byte[] encodeBody()- Overrides:
encodeBodyin classAsn1Simple<byte[]>
-
encodingBodyLength
protected int encodingBodyLength()- Overrides:
encodingBodyLengthin classAsn1Simple<byte[]>
-
decodeBody
- Overrides:
decodeBodyin classAsn1Simple<byte[]>- Throws:
IOException
-
toString
- Overrides:
toStringin classAsn1Simple<byte[]>
-