public abstract class JcePasswordRecipient extends Object implements PasswordRecipient
Modifier and Type | Field and Description |
---|---|
protected old.org.bouncycastle.cms.jcajce.EnvelopedDataHelper |
helper |
PKCS5_SCHEME2, PKCS5_SCHEME2_UTF8
Modifier and Type | Method and Description |
---|---|
protected Key |
extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm,
AlgorithmIdentifier contentEncryptionAlgorithm,
byte[] derivedKey,
byte[] encryptedContentEncryptionKey) |
char[] |
getPassword() |
int |
getPasswordConversionScheme() |
JcePasswordRecipient |
setPasswordConversionScheme(int schemeID) |
JcePasswordRecipient |
setProvider(Provider provider) |
JcePasswordRecipient |
setProvider(String providerName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRecipientOperator
public JcePasswordRecipient setPasswordConversionScheme(int schemeID)
public JcePasswordRecipient setProvider(Provider provider)
public JcePasswordRecipient setProvider(String providerName)
protected Key extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, byte[] derivedKey, byte[] encryptedContentEncryptionKey) throws CMSException
CMSException
public int getPasswordConversionScheme()
getPasswordConversionScheme
in interface PasswordRecipient
public char[] getPassword()
getPassword
in interface PasswordRecipient
Copyright © 2015. All rights reserved.