Java 类org.bouncycastle.openpgp.operator.jcajce.JcePBEDataDecryptorFactoryBuilder 实例源码

项目:CryptMeme    文件:PGPPBEEncryptedData.java   
/**
 * Return the decrypted input stream, using the passed in passPhrase.
 * 
 * @param passPhrase
 * @param provider
 * @return InputStream
 * @throws PGPException
 * @deprecated use PBEDataDecryptorFactory method
 */
public InputStream getDataStream(
    char[]                passPhrase,
    Provider              provider)
    throws PGPException
{
    return getDataStream(new JcePBEDataDecryptorFactoryBuilder(new JcaPGPDigestCalculatorProviderBuilder().setProvider(provider).build()).setProvider(provider).build(passPhrase));
}
项目:irma_future_id    文件:PGPPBEEncryptedData.java   
/**
 * Return the decrypted input stream, using the passed in passPhrase.
 * 
 * @param passPhrase
 * @param provider
 * @return InputStream
 * @throws PGPException
 * @deprecated use PBEDataDecryptorFactory method
 */
public InputStream getDataStream(
    char[]                passPhrase,
    Provider              provider)
    throws PGPException
{
    return getDataStream(new JcePBEDataDecryptorFactoryBuilder(new JcaPGPDigestCalculatorProviderBuilder().setProvider(provider).build()).setProvider(provider).build(passPhrase));
}
项目:bc-java    文件:PGPPBEEncryptedData.java   
/**
 * Return the decrypted input stream, using the passed in passPhrase.
 * 
 * @param passPhrase
 * @param provider
 * @return InputStream
 * @throws PGPException
 * @deprecated use PBEDataDecryptorFactory method
 */
public InputStream getDataStream(
    char[]                passPhrase,
    Provider              provider)
    throws PGPException
{
    return getDataStream(new JcePBEDataDecryptorFactoryBuilder(new JcaPGPDigestCalculatorProviderBuilder().setProvider(provider).build()).setProvider(provider).build(passPhrase));
}