public class BcKEMRecipientInfoGenerator extends KEMRecipientInfoGenerator
setKDF(AlgorithmIdentifier) selects another of the KDFs RFC 9629 allows.wrapper| Constructor and Description |
|---|
BcKEMRecipientInfoGenerator(byte[] subjectKeyIdentifier,
org.bouncycastle.crypto.params.AsymmetricKeyParameter publicKey,
org.bouncycastle.asn1.ASN1ObjectIdentifier symWrapAlgorithm) |
BcKEMRecipientInfoGenerator(X509CertificateHolder recipientCert,
org.bouncycastle.asn1.ASN1ObjectIdentifier symWrapAlgorithm) |
| Modifier and Type | Method and Description |
|---|---|
BcKEMRecipientInfoGenerator |
setKDF(org.bouncycastle.asn1.x509.AlgorithmIdentifier kdfAlgorithm) |
BcKEMRecipientInfoGenerator |
setSecureRandom(java.security.SecureRandom random) |
BcKEMRecipientInfoGenerator |
setUserKeyingMaterial(byte[] userKeyingMaterial) |
generatepublic BcKEMRecipientInfoGenerator(X509CertificateHolder recipientCert, org.bouncycastle.asn1.ASN1ObjectIdentifier symWrapAlgorithm) throws java.io.IOException
java.io.IOExceptionpublic BcKEMRecipientInfoGenerator(byte[] subjectKeyIdentifier,
org.bouncycastle.crypto.params.AsymmetricKeyParameter publicKey,
org.bouncycastle.asn1.ASN1ObjectIdentifier symWrapAlgorithm)
throws java.io.IOException
java.io.IOExceptionpublic BcKEMRecipientInfoGenerator setSecureRandom(java.security.SecureRandom random)
public BcKEMRecipientInfoGenerator setKDF(org.bouncycastle.asn1.x509.AlgorithmIdentifier kdfAlgorithm)
public BcKEMRecipientInfoGenerator setUserKeyingMaterial(byte[] userKeyingMaterial)