Top Description Inners Fields Constructors Methods
org.bouncycastle.oer.its.ieee1609dot2

public Class EncryptedData

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1Object, .ASN1Primitive, .ASN1Sequence, org.bouncycastle.oer.its.ItsUtils

    EncryptedData ::= SEQUENCE {
        recipients SequenceOfRecipientInfo,
        ciphertext SymmetricCiphertext
    }

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private final SymmetricCiphertext
private final SequenceOfRecipientInfo

Constructor Summary

AccessConstructor and Description
public
private

Method Summary

Modifier and TypeMethod and Description
public static EncryptedData.Builder
public SymmetricCiphertext
public static EncryptedData
public SequenceOfRecipientInfo
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

ciphertextback to summary
private final SymmetricCiphertext ciphertext
recipientsback to summary
private final SequenceOfRecipientInfo recipients

Constructor Detail

EncryptedDataback to summary
public EncryptedData(SequenceOfRecipientInfo recipients, SymmetricCiphertext ciphertext)
EncryptedDataback to summary
private EncryptedData(ASN1Sequence sequence)

Method Detail

builderback to summary
public static EncryptedData.Builder builder()
getCiphertextback to summary
public SymmetricCiphertext getCiphertext()
getInstanceback to summary
public static EncryptedData getInstance(Object o)
getRecipientsback to summary
public SequenceOfRecipientInfo getRecipients()
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.

org.bouncycastle.oer.its.ieee1609dot2 back to summary

public Class EncryptedData.Builder

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private SymmetricCiphertext
private SequenceOfRecipientInfo

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public EncryptedData
public EncryptedData.Builder
public EncryptedData.Builder
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ciphertextback to summary
private SymmetricCiphertext ciphertext
recipientsback to summary
private SequenceOfRecipientInfo recipients

Constructor Detail

Builderback to summary
public Builder()

Method Detail

createEncryptedDataback to summary
public EncryptedData createEncryptedData()
setCiphertextback to summary
public EncryptedData.Builder setCiphertext(SymmetricCiphertext ciphertext)
setRecipientsback to summary
public EncryptedData.Builder setRecipients(SequenceOfRecipientInfo recipients)