Android Guides | Samples

Javax.Crypto.KeyType Enumeration

Enumerates values returned by several types and taken as a parameter of the Cipher.Unwrap member.

Syntax

public enum KeyType

Remarks

Enumerates values returned by the following: and taken as a parameter of the Cipher.Unwrap member.

Members

Member NameDescription
PrivateKeyConstant indicating that the key to be unwrapped is a private key.
PublicKeyConstant indicating that the key to be unwrapped is a public key.
SecretKeyConstant indicating that the key to be unwrapped is a secret key.

Requirements

Namespace: Javax.Crypto
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Javax.Crypto.KeyType are listed below.

See Also: Enum

Public Fields

PrivateKeyKeyType. Constant indicating that the key to be unwrapped is a private key.
PublicKeyKeyType. Constant indicating that the key to be unwrapped is a public key.
SecretKeyKeyType. Constant indicating that the key to be unwrapped is a secret key.