Android Guides | Samples

Javax.Crypto.Cipher Constructor

Creates a new Cipher instance.

Syntax

[Android.Runtime.Register(".ctor", "(Ljavax/crypto/CipherSpi;Ljava/security/Provider;Ljava/lang/String;)V", "")]
protected Cipher (CipherSpi cipherSpi, Provider provider, String transformation)

Parameters

cipherSpi
provider
transformation

Exceptions

TypeReason
NullPointerExceptionif either cipherSpi is null or provider is null and cipherSpi is a NullCipherSpi.

Remarks

Creates a new Cipher instance.

[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