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

public Class ObjectStore

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1Encodable, .ASN1Object, .ASN1Primitive, .ASN1Sequence, .DERSequence

ObjectStore ::= SEQUENCE {
    CHOICE {
         encryptedObjectStoreData EncryptedObjectStoreData,
         objectStoreData ObjectStoreData
    }
    integrityCheck ObjectStoreIntegrityCheck
}

Field Summary

Modifier and TypeField and Description
private final ObjectStoreIntegrityCheck
private final ASN1Encodable

Constructor Summary

AccessConstructor and Description
public
ObjectStore(ObjectStoreData objectStoreData, ObjectStoreIntegrityCheck integrityCheck)

public
ObjectStore(EncryptedObjectStoreData encryptedObjectStoreData, ObjectStoreIntegrityCheck integrityCheck)

private

Method Summary

Modifier and TypeMethod and Description
public static ObjectStore
public ObjectStoreIntegrityCheck
public ASN1Encodable
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:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

integrityCheckback to summary
private final ObjectStoreIntegrityCheck integrityCheck
storeDataback to summary
private final ASN1Encodable storeData

Constructor Detail

ObjectStoreback to summary
public ObjectStore(ObjectStoreData objectStoreData, ObjectStoreIntegrityCheck integrityCheck)
ObjectStoreback to summary
public ObjectStore(EncryptedObjectStoreData encryptedObjectStoreData, ObjectStoreIntegrityCheck integrityCheck)
ObjectStoreback to summary
private ObjectStore(ASN1Sequence seq)

Method Detail

getInstanceback to summary
public static ObjectStore getInstance(Object o)
getIntegrityCheckback to summary
public ObjectStoreIntegrityCheck getIntegrityCheck()
getStoreDataback to summary
public ASN1Encodable getStoreData()
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.