Top Description Methods
org.bouncycastle.operator

public Interface InputDecryptor

Known Direct Subinterfaces
org.bouncycastle.operator.InputAEADDecryptor
Imports
java.io.InputStream, org.bouncycastle.asn1.x509.AlgorithmIdentifier

General interface for an operator that is able to produce an InputStream that will decrypt a stream of encrypted data.

Method Summary

Modifier and TypeMethod and Description
public AlgorithmIdentifier

Returns:

algorithm oid and parameters.
getAlgorithmIdentifier
()

Return the algorithm identifier describing the encryption algorithm and parameters this decryptor can process.

public InputStream

Returns:

an decrypting InputStream
getInputStream
(InputStream
InputStream containing encrypted input.
encIn
)

Wrap the passed in input stream encIn, returning an input stream that decrypts what it reads from encIn before returning it.

Method Detail

getAlgorithmIdentifierback to summary
public AlgorithmIdentifier getAlgorithmIdentifier()

Return the algorithm identifier describing the encryption algorithm and parameters this decryptor can process.

Returns:AlgorithmIdentifier

algorithm oid and parameters.

getInputStreamback to summary
public InputStream getInputStream(InputStream encIn)

Wrap the passed in input stream encIn, returning an input stream that decrypts what it reads from encIn before returning it.

Parameters
encIn:InputStream

InputStream containing encrypted input.

Returns:InputStream

an decrypting InputStream