Javax.Crypto.CipherSpi Class
This class defines the Service Provider Interface (SPI) for cryptographic ciphers.

See Also: CipherSpi Members

Syntax

[Android.Runtime.Register("javax/crypto/CipherSpi", DoNotGenerateAcw=true)]
public abstract class CipherSpi : Java.Lang.Object

Remarks

This class defines the Service Provider Interface (SPI) for cryptographic ciphers.

Implementers of cryptographic ciphers must implement all the abstract methods for every cipher they implement. CipherSpi instances are created along with ciphers when the Cipher.GetInstance(string) method is called. A Cipher is referenced by a transformation, which is a string that describes the operation (or set of operations), always consisting of the cipher's name and optionally followed by a mode and a padding, in the form:

The following behavior should be implemented for obtaining Cipher instances.

When one of the Cipher.GetInstance(string) factory methods is called with a transformation that is only an algorithm, check if the provider defines a CipherSpi for "algorithm", if so: return it, otherwise throw a Java.Security.NoSuchAlgorithmException.

The following rules apply when a transformation is of the form "algorithm/mode/padding":

See Also

[Android Documentation]

Requirements

Namespace: Javax.Crypto
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1