Top Description Methods
org.bouncycastle.crypto

public Interface AsymmetricOperatorFactory<T extends Parameters>

Known Direct Implementers
org.bouncycastle.crypto.general.GuardedAsymmetricOperatorFactory
Type Parameters
<T>
the type for the parameters for the operator made by this factory.

Interface describing a factory that creates encryptors and decryptors based on public key cryptography.

Method Summary

Modifier and TypeMethod and Description
public SingleBlockDecryptor<T>

Returns:

an initialised block decryptor for the passed in arguments.
createBlockDecryptor
(AsymmetricKey
the key to be used in the decryptor.
key
,
T
the parameter set for the decryptor.
parameter
)

Create a block decryptor for the passed in key and parameter set.

public SingleBlockEncryptor<T>

Returns:

an initialised block encryptor for the passed in arguments.
createBlockEncryptor
(AsymmetricKey
the key to be used in the encryptor.
key
,
T
the parameter set for the encryptor.
parameter
)

Create a block encryptor for the passed in key and parameter set.

Method Detail

createBlockDecryptorback to summary
public SingleBlockDecryptor<T> createBlockDecryptor(AsymmetricKey key, T parameter)

Create a block decryptor for the passed in key and parameter set.

Parameters
key:AsymmetricKey

the key to be used in the decryptor.

parameter:T

the parameter set for the decryptor.

Returns:SingleBlockDecryptor<T>

an initialised block decryptor for the passed in arguments.

createBlockEncryptorback to summary
public SingleBlockEncryptor<T> createBlockEncryptor(AsymmetricKey key, T parameter)

Create a block encryptor for the passed in key and parameter set.

Parameters
key:AsymmetricKey

the key to be used in the encryptor.

parameter:T

the parameter set for the encryptor.

Returns:SingleBlockEncryptor<T>

an initialised block encryptor for the passed in arguments.