public class KEMRecipientInfo
extends org.bouncycastle.asn1.ASN1Object
Defined in RFC 9629.
KEMRecipientInfo ::= SEQUENCE { version CMSVersion, -- always set to 0 rid RecipientIdentifier, kem KEMAlgorithmIdentifier, kemct OCTET STRING, kdf KeyDerivationAlgorithmIdentifier, kekLength INTEGER (1..65535), ukm [0] EXPLICIT UserKeyingMaterial OPTIONAL, wrap KeyEncryptionAlgorithmIdentifier, encryptedKey EncryptedKey }
Constructor and Description |
---|
KEMRecipientInfo(RecipientIdentifier rid,
org.bouncycastle.asn1.x509.AlgorithmIdentifier kem,
org.bouncycastle.asn1.ASN1OctetString kemct,
org.bouncycastle.asn1.x509.AlgorithmIdentifier kdf,
org.bouncycastle.asn1.ASN1Integer kekLength,
org.bouncycastle.asn1.ASN1OctetString ukm,
org.bouncycastle.asn1.x509.AlgorithmIdentifier wrap,
org.bouncycastle.asn1.ASN1OctetString encryptedKey) |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.asn1.ASN1OctetString |
getEncryptedKey() |
static KEMRecipientInfo |
getInstance(java.lang.Object o) |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getKdf() |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getKem() |
org.bouncycastle.asn1.ASN1OctetString |
getKemct() |
RecipientIdentifier |
getRecipientIdentifier() |
byte[] |
getUkm() |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getWrap() |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive() |
public KEMRecipientInfo(RecipientIdentifier rid, org.bouncycastle.asn1.x509.AlgorithmIdentifier kem, org.bouncycastle.asn1.ASN1OctetString kemct, org.bouncycastle.asn1.x509.AlgorithmIdentifier kdf, org.bouncycastle.asn1.ASN1Integer kekLength, org.bouncycastle.asn1.ASN1OctetString ukm, org.bouncycastle.asn1.x509.AlgorithmIdentifier wrap, org.bouncycastle.asn1.ASN1OctetString encryptedKey)
public static KEMRecipientInfo getInstance(java.lang.Object o)
public RecipientIdentifier getRecipientIdentifier()
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getKem()
public org.bouncycastle.asn1.ASN1OctetString getKemct()
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getKdf()
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getWrap()
public byte[] getUkm()
public org.bouncycastle.asn1.ASN1OctetString getEncryptedKey()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object