Share via


KeyType Enum

Definition

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

public enum KeyType
type KeyType = 
Inheritance
KeyType

Fields

Name Value Description
PublicKey 1

Constant indicating that the key to be unwrapped is a public key.

PrivateKey 2

Constant indicating that the key to be unwrapped is a private key.

SecretKey 3

Constant indicating that the key to be unwrapped is a secret key.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to