public abstract class BcPasswordRecipient extends Object implements PasswordRecipient
PasswordRecipient.PRF
PKCS5_SCHEME2, PKCS5_SCHEME2_UTF8
Modifier and Type | Method and Description |
---|---|
byte[] |
calculateDerivedKey(int schemeID,
AlgorithmIdentifier derivationAlgorithm,
int keySize) |
protected KeyParameter |
extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm,
AlgorithmIdentifier contentEncryptionAlgorithm,
byte[] derivedKey,
byte[] encryptedContentEncryptionKey) |
char[] |
getPassword() |
int |
getPasswordConversionScheme() |
BcPasswordRecipient |
setPasswordConversionScheme(int schemeID) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRecipientOperator
public BcPasswordRecipient setPasswordConversionScheme(int schemeID)
protected KeyParameter extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, byte[] derivedKey, byte[] encryptedContentEncryptionKey) throws CMSException
CMSException
public byte[] calculateDerivedKey(int schemeID, AlgorithmIdentifier derivationAlgorithm, int keySize) throws CMSException
calculateDerivedKey
in interface PasswordRecipient
CMSException
public int getPasswordConversionScheme()
getPasswordConversionScheme
in interface PasswordRecipient
public char[] getPassword()
getPassword
in interface PasswordRecipient
Copyright © 2018 BouncyCastle.org. All rights reserved.