Package org.bouncycastle.asn1.bc
Class ObjectStoreData
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.asn1.bc.ObjectStoreData
-
- All Implemented Interfaces:
ASN1Encodable,Encodable
public class ObjectStoreData extends ASN1Object
ObjectStoreData ::= SEQUENCE { version INTEGER. dataSalt OCTET STRING, integrityAlgorithm AlgorithmIdentifier, creationDate GeneralizedTime, lastModifiedDate GeneralizedTime, objectDataSequence ObjectDataSequence, comment UTF8String OPTIONAL }
-
-
Constructor Summary
Constructors Constructor Description ObjectStoreData(AlgorithmIdentifier integrityAlgorithm, java.util.Date creationDate, java.util.Date lastModifiedDate, ObjectDataSequence objectDataSequence, java.lang.String comment)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetComment()ASN1GeneralizedTimegetCreationDate()static ObjectStoreDatagetInstance(java.lang.Object o)AlgorithmIdentifiergetIntegrityAlgorithm()ASN1GeneralizedTimegetLastModifiedDate()ObjectDataSequencegetObjectDataSequence()java.math.BigIntegergetVersion()ASN1PrimitivetoASN1Primitive()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 Detail
-
ObjectStoreData
public ObjectStoreData(AlgorithmIdentifier integrityAlgorithm, java.util.Date creationDate, java.util.Date lastModifiedDate, ObjectDataSequence objectDataSequence, java.lang.String comment)
-
-
Method Detail
-
getInstance
public static ObjectStoreData getInstance(java.lang.Object o)
-
getComment
public java.lang.String getComment()
-
getCreationDate
public ASN1GeneralizedTime getCreationDate()
-
getIntegrityAlgorithm
public AlgorithmIdentifier getIntegrityAlgorithm()
-
getLastModifiedDate
public ASN1GeneralizedTime getLastModifiedDate()
-
getObjectDataSequence
public ObjectDataSequence getObjectDataSequence()
-
getVersion
public java.math.BigInteger getVersion()
-
toASN1Primitive
public ASN1Primitive 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.
-
-