Package org.bouncycastle.asn1.bc
Class ObjectData
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.bc.ObjectData
- All Implemented Interfaces:
ASN1Encodable,Encodable
ObjectData ::= SEQUENCE {
type INTEGER,
identifier UTF8String,
creationDate GeneralizedTime,
lastModifiedDate GeneralizedTime,
data OCTET STRING,
comment UTF8String OPTIONAL
}
-
Constructor Summary
ConstructorsConstructorDescriptionObjectData(BigInteger type, String identifier, Date creationDate, Date lastModifiedDate, byte[] data, String comment) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getData()static ObjectDatagetInstance(Object obj) getType()Method providing a primitive representation of this object suitable for encoding.Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
ObjectData
public ObjectData(BigInteger type, String identifier, Date creationDate, Date lastModifiedDate, byte[] data, String comment)
-
-
Method Details
-
getInstance
-
getComment
-
getCreationDate
-
getData
public byte[] getData() -
getIdentifier
-
getLastModifiedDate
-
getType
-
toASN1Primitive
Description copied from class:ASN1ObjectMethod providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a primitive representation of this object.
-