org.bouncycastle.cms.jcajce
Class JcePasswordRecipientInfoGenerator
java.lang.Object
|
+--org.bouncycastle.cms.PasswordRecipientInfoGenerator
|
+--org.bouncycastle.cms.jcajce.JcePasswordRecipientInfoGenerator
- public class JcePasswordRecipientInfoGenerator
- extends PasswordRecipientInfoGenerator
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
JcePasswordRecipientInfoGenerator
public JcePasswordRecipientInfoGenerator(org.bouncycastle.asn1.ASN1ObjectIdentifier kekAlgorithm,
char[] password)
setProvider
public JcePasswordRecipientInfoGenerator setProvider(java.security.Provider provider)
setProvider
public JcePasswordRecipientInfoGenerator setProvider(java.lang.String providerName)
calculateDerivedKey
protected byte[] calculateDerivedKey(int schemeID,
org.bouncycastle.asn1.x509.AlgorithmIdentifier derivationAlgorithm,
int keySize)
throws CMSException
- Overrides:
- calculateDerivedKey in class PasswordRecipientInfoGenerator
generateEncryptedBytes
public byte[] generateEncryptedBytes(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm,
byte[] derivedKey,
org.bouncycastle.operator.GenericKey contentEncryptionKey)
throws CMSException
- Overrides:
- generateEncryptedBytes in class PasswordRecipientInfoGenerator