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

public Class PKRecipientInfo

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

    PKRecipientInfo ::= SEQUENCE {
        recipientId HashedId8,
        encKey EncryptedDataEncryptionKey
    }

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private final EncryptedDataEncryptionKey
private final HashedId8

Constructor Summary

AccessConstructor and Description
public
private

Method Summary

Modifier and TypeMethod and Description
public static PKRecipientInfo.Builder
public EncryptedDataEncryptionKey
public static PKRecipientInfo
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 EncryptedDataEncryptionKey encKey
recipientIdback to summary
private final HashedId8 recipientId

Constructor Detail

PKRecipientInfoback to summary
public PKRecipientInfo(HashedId8 recipientId, EncryptedDataEncryptionKey encKey)
PKRecipientInfoback to summary
private PKRecipientInfo(ASN1Sequence sequence)

Method Detail

builderback to summary
public static PKRecipientInfo.Builder builder()
getEncKeyback to summary
public EncryptedDataEncryptionKey getEncKey()
getInstanceback to summary
public static PKRecipientInfo getInstance(Object object)
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 PKRecipientInfo.Builder

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

Field Summary

Modifier and TypeField and Description
private EncryptedDataEncryptionKey
private HashedId8

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Field Detail

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

Constructor Detail

Builderback to summary
public Builder()

Method Detail

createPKRecipientInfoback to summary
public PKRecipientInfo createPKRecipientInfo()
setEncKeyback to summary
public PKRecipientInfo.Builder setEncKey(EncryptedDataEncryptionKey encKey)
setRecipientIdback to summary
public PKRecipientInfo.Builder setRecipientId(HashedId8 recipientId)