Javax.Crypto.Cipher: Method Members

The methods of Javax.Crypto.Cipher are listed below. For a list of all members, see the Cipher Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

DoFinal() : byte[]
Finishes a multi-part transformation (encryption or decryption).
DoFinal(byte[]) : byte[]
Finishes a multi-part transformation (encryption or decryption).
DoFinal(Java.Nio.ByteBuffer, Java.Nio.ByteBuffer) : int
Finishes a multi-part transformation (encryption or decryption).
DoFinal(byte[], int) : int
Finishes a multi-part transformation (encryption or decryption).
DoFinal(byte[], int, int) : byte[]
Finishes a multi-part transformation (encryption or decryption).
DoFinal(byte[], int, int, byte[]) : int
Finishes a multi-part transformation (encryption or decryption).
DoFinal(byte[], int, int, byte[], int) : int
Finishes a multi-part transformation (encryption or decryption).
static
GetInstance(string) : Cipher
Creates a new Cipher for the specified transformation.
static
GetInstance(string, Java.Security.Provider) : Cipher
Creates a new cipher for the specified transformation.
static
GetInstance(string, string) : Cipher
Creates a new cipher for the specified transformation provided by the specified provider.
GetIV() : byte[]
Returns the initialization vector for this cipher instance.
static
GetMaxAllowedKeyLength(string) : int
Returns the maximum key length for the specified transformation.
static
GetMaxAllowedParameterSpec(string) : Java.Security.Spec.IAlgorithmParameterSpec
Returns the maximum cipher parameter value for the specified transformation.
GetOutputSize(int) : int
Returns the length in bytes an output buffer needs to be when this cipher is updated with inputLen bytes.
Init(CipherMode, Java.Security.Cert.Certificate)
Initializes this cipher instance with the public key from the specified certificate.
Init(CipherMode, Java.Security.IKey)
Initializes this cipher instance with the specified key.
Init(CipherMode, Java.Security.Cert.Certificate, Java.Security.SecureRandom)
Initializes this cipher instance with the public key from the specified certificate and a source of randomness.
Init(CipherMode, Java.Security.IKey, Java.Security.AlgorithmParameters)
Initializes this cipher instance with the specified key and algorithm parameters.
Init(CipherMode, Java.Security.IKey, Java.Security.SecureRandom)
Initializes this cipher instance with the specified key and a source of randomness.
Init(CipherMode, Java.Security.IKey, Java.Security.Spec.IAlgorithmParameterSpec)
Initializes this cipher instance with the specified key and algorithm parameters.
Init(CipherMode, Java.Security.IKey, Java.Security.AlgorithmParameters, Java.Security.SecureRandom)
Initializes this cipher instance with the specified key, algorithm parameters and a source of randomness.
Init(CipherMode, Java.Security.IKey, Java.Security.Spec.IAlgorithmParameterSpec, Java.Security.SecureRandom)
Initializes this cipher instance with the specified key, algorithm parameters and a source of randomness.
Unwrap(byte[], string, KeyType) : Java.Security.IKey
Unwraps a key using this cipher instance.
Update(byte[]) : byte[]
Continues a multi-part transformation (encryption or decryption).
Update(Java.Nio.ByteBuffer, Java.Nio.ByteBuffer) : int
Continues a multi-part transformation (encryption or decryption).
Update(byte[], int, int) : byte[]
Continues a multi-part transformation (encryption or decryption).
Update(byte[], int, int, byte[]) : int
Continues a multi-part transformation (encryption or decryption).
Update(byte[], int, int, byte[], int) : int
Continues a multi-part transformation (encryption or decryption).
UpdateAAD(Java.Nio.ByteBuffer)
Continues a multi-part transformation (encryption or decryption) with Authenticated Additional Data (AAD).
UpdateAAD(byte[])
Continues a multi-part transformation (encryption or decryption) with Authenticated Additional Data (AAD).
UpdateAAD(byte[], int, int)
Continues a multi-part transformation (encryption or decryption) with Authenticated Additional Data (AAD).
Wrap(Java.Security.IKey) : byte[]
Wraps a key using this cipher instance.