Top Description Fields Constructors Methods
org.bouncycastle.asn1.bc

public Class ObjectData

extends ASN1Object
Class Inheritance
Imports
java.math.BigInteger, java.util.Date, org.bouncycastle.asn1.ASN1EncodableVector, .ASN1GeneralizedTime, .ASN1Integer, .ASN1Object, .ASN1OctetString, .ASN1Primitive, .ASN1Sequence, .DERGeneralizedTime, .DEROctetString, .DERSequence, .DERUTF8String, org.bouncycastle.util.Arrays

ObjectData ::= SEQUENCE {
    type             INTEGER,
    identifier       UTF8String,
    creationDate     GeneralizedTime,
    lastModifiedDate GeneralizedTime,
    data             OCTET STRING,
    comment          UTF8String OPTIONAL
}

Field Summary

Modifier and TypeField and Description
private final String
private final ASN1GeneralizedTime
private final ASN1OctetString
private final String
private final ASN1GeneralizedTime
private final BigInteger

Constructor Summary

AccessConstructor and Description
private
public
ObjectData(BigInteger type, String identifier, Date creationDate, Date lastModifiedDate, byte[] data, String comment)

Method Summary

Modifier and TypeMethod and Description
public String
public ASN1GeneralizedTime
public byte[]
public String
public static ObjectData
public ASN1GeneralizedTime
public BigInteger
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.
Inherited from org.bouncycastle.asn1.ASN1Object:
equalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

commentback to summary
private final String comment
creationDateback to summary
private final ASN1GeneralizedTime creationDate
databack to summary
private final ASN1OctetString data
identifierback to summary
private final String identifier
lastModifiedDateback to summary
private final ASN1GeneralizedTime lastModifiedDate
typeback to summary
private final BigInteger type

Constructor Detail

ObjectDataback to summary
private ObjectData(ASN1Sequence seq)
ObjectDataback to summary
public ObjectData(BigInteger type, String identifier, Date creationDate, Date lastModifiedDate, byte[] data, String comment)

Method Detail

getCommentback to summary
public String getComment()
getCreationDateback to summary
public ASN1GeneralizedTime getCreationDate()
getDataback to summary
public byte[] getData()
getIdentifierback to summary
public String getIdentifier()
getInstanceback to summary
public static ObjectData getInstance(Object obj)
getLastModifiedDateback to summary
public ASN1GeneralizedTime getLastModifiedDate()
getTypeback to summary
public BigInteger getType()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.