Javax.Crypto.CipherSpi.EngineGetKeySize Method
Returns the size of a specified key object in bits.

Syntax

[Android.Runtime.Register("engineGetKeySize", "(Ljava/security/Key;)I", "GetEngineGetKeySize_Ljava_security_Key_Handler")]
protected virtual int EngineGetKeySize (Java.Security.IKey key)

Parameters

key
the key to get the size for.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Security.InvalidKeyExceptionif the size of the key cannot be determined by this implementation.

Remarks

Returns the size of a specified key object in bits. This method has been added to this class (for backwards compatibility, it cannot be abstract). If this method is not overridden, it throws an UnsupportedOperationException.

[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