public class ObjectData extends ASN1Object
ObjectData ::= SEQUENCE { type INTEGER, identifier UTF8String, creationDate GeneralizedTime, lastModifiedDate GeneralizedTime, data OCTET STRING, comment UTF8String OPTIONAL }
Constructor and Description |
---|
ObjectData(BigInteger type,
String identifier,
Date creationDate,
Date lastModifiedDate,
byte[] data,
String comment) |
Modifier and Type | Method and Description |
---|---|
String |
getComment() |
ASN1GeneralizedTime |
getCreationDate() |
byte[] |
getData() |
String |
getIdentifier() |
static ObjectData |
getInstance(Object obj) |
ASN1GeneralizedTime |
getLastModifiedDate() |
BigInteger |
getType() |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public ObjectData(BigInteger type, String identifier, Date creationDate, Date lastModifiedDate, byte[] data, String comment)
public static ObjectData getInstance(Object obj)
public String getComment()
public ASN1GeneralizedTime getCreationDate()
public byte[] getData()
public String getIdentifier()
public ASN1GeneralizedTime getLastModifiedDate()
public BigInteger getType()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object
Copyright © 2020 BouncyCastle.org. All rights reserved.