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

public Class SymmRecipientInfo

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1Object, .ASN1Primitive, .ASN1Sequence, org.bouncycastle.oer.its.ItsUtils, org.bouncycastle.oer.its.ieee1609dot2.basetypes.HashedId, .HashedId8

    SymmRecipientInfo ::= SEQUENCE {
        recipientId HashedId8,
        encKey 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 HashedId8

Constructor Summary

AccessConstructor and Description
public
private

Method Summary

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

encKeyback to summary
private final SymmetricCiphertext encKey
recipientIdback to summary
private final HashedId8 recipientId

Constructor Detail

SymmRecipientInfoback to summary
public SymmRecipientInfo(HashedId8 recipientId, SymmetricCiphertext encKey)
SymmRecipientInfoback to summary
private SymmRecipientInfo(ASN1Sequence sequence)

Method Detail

builderback to summary
public static SymmRecipientInfo.Builder builder()
getEncKeyback to summary
public SymmetricCiphertext getEncKey()
getInstanceback to summary
public static SymmRecipientInfo getInstance(Object o)
getRecipientIdback to summary
public HashedId getRecipientId()
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 SymmRecipientInfo.Builder

extends Object
Class Inheritance
  • java.lang.Object
  • org.bouncycastle.oer.its.ieee1609dot2.SymmRecipientInfo.Builder

Field Summary

Modifier and TypeField and Description
private SymmetricCiphertext
private HashedId8

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Field Detail

encKeyback to summary
private SymmetricCiphertext encKey
recipientIdback to summary
private HashedId8 recipientId

Constructor Detail

Builderback to summary
public Builder()

Method Detail

createSymmRecipientInfoback to summary
public SymmRecipientInfo createSymmRecipientInfo()
setEncKeyback to summary
public SymmRecipientInfo.Builder setEncKey(SymmetricCiphertext encKey)
setRecipientIdback to summary
public SymmRecipientInfo.Builder setRecipientId(HashedId8 recipientId)