Bouncy Castle Cryptography Library 1.59

org.bouncycastle.operator.jcajce
Class JceInputDecryptorProviderBuilder

java.lang.Object
  extended byorg.bouncycastle.operator.jcajce.JceInputDecryptorProviderBuilder

public class JceInputDecryptorProviderBuilder
extends java.lang.Object

A generic decryptor provider for IETF style algorithms.


Constructor Summary
JceInputDecryptorProviderBuilder()
           
 
Method Summary
 InputDecryptorProvider build(byte[] keyBytes)
          Build a decryptor provider which will use the passed in bytes for the symmetric key.
 JceInputDecryptorProviderBuilder setProvider(java.security.Provider provider)
           
 JceInputDecryptorProviderBuilder setProvider(java.lang.String providerName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JceInputDecryptorProviderBuilder

public JceInputDecryptorProviderBuilder()
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.

Bouncy Castle Cryptography Library 1.59