protected class CMSEnvelopedGenerator.RecipientInf
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) java.security.cert.X509Certificate |
cert |
(package private) AlgorithmIdentifier |
derivationAlg |
(package private) AlgorithmIdentifier |
keyEncAlg |
(package private) OriginatorIdentifierOrKey |
originator |
(package private) java.security.PublicKey |
pubKey |
(package private) javax.crypto.SecretKey |
secKey |
(package private) KEKIdentifier |
secKeyId |
(package private) ASN1OctetString |
subKeyId |
(package private) ASN1OctetString |
ukm |
Constructor and Description |
---|
RecipientInf(java.security.PublicKey pubKey,
ASN1OctetString subKeyId) |
RecipientInf(javax.crypto.SecretKey secretKey,
AlgorithmIdentifier derivationAlg) |
RecipientInf(javax.crypto.SecretKey secKey,
KEKIdentifier secKeyId) |
RecipientInf(javax.crypto.SecretKey secretKey,
java.lang.String algorithm,
java.lang.String wrapOid,
OriginatorIdentifierOrKey originator,
java.security.cert.X509Certificate cert) |
RecipientInf(java.security.cert.X509Certificate cert) |
Modifier and Type | Method and Description |
---|---|
(package private) RecipientInfo |
toRecipientInfo(javax.crypto.SecretKey key,
java.lang.String prov) |
java.security.cert.X509Certificate cert
AlgorithmIdentifier keyEncAlg
java.security.PublicKey pubKey
ASN1OctetString subKeyId
javax.crypto.SecretKey secKey
KEKIdentifier secKeyId
OriginatorIdentifierOrKey originator
ASN1OctetString ukm
AlgorithmIdentifier derivationAlg
RecipientInf(java.security.cert.X509Certificate cert)
RecipientInf(java.security.PublicKey pubKey, ASN1OctetString subKeyId)
RecipientInf(javax.crypto.SecretKey secKey, KEKIdentifier secKeyId)
public RecipientInf(javax.crypto.SecretKey secretKey, java.lang.String algorithm, java.lang.String wrapOid, OriginatorIdentifierOrKey originator, java.security.cert.X509Certificate cert)
public RecipientInf(javax.crypto.SecretKey secretKey, AlgorithmIdentifier derivationAlg)
RecipientInfo toRecipientInfo(javax.crypto.SecretKey key, java.lang.String prov) throws java.io.IOException, java.security.GeneralSecurityException
java.io.IOException
java.security.GeneralSecurityException
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.