Package org.bouncycastle.operator.jcajce
Class JceInputDecryptorProviderBuilder
- java.lang.Object
-
- org.bouncycastle.operator.jcajce.JceInputDecryptorProviderBuilder
-
public class JceInputDecryptorProviderBuilder extends java.lang.Object
A generic decryptor provider for IETF style algorithms.
-
-
Constructor Summary
Constructors Constructor Description JceInputDecryptorProviderBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputDecryptorProvider
build(byte[] keyBytes)
Build a decryptor provider which will use the passed in bytes for the symmetric key.JceInputDecryptorProviderBuilder
setProvider(java.lang.String providerName)
JceInputDecryptorProviderBuilder
setProvider(java.security.Provider provider)
-
-
-
Method Detail
-
setProvider
public JceInputDecryptorProviderBuilder setProvider(java.security.Provider provider)
-
setProvider
public JceInputDecryptorProviderBuilder setProvider(java.lang.String providerName)
-
build
public InputDecryptorProvider build(byte[] keyBytes)
Build a decryptor provider which will use the passed in bytes for the symmetric key.- Parameters:
keyBytes
- bytes representing the key to use.- Returns:
- an decryptor provider.
-
-