CryptoPrimitive

public final enum CryptoPrimitive
extends Enum<CryptoPrimitive>

java.lang.Object
   ↳ java.lang.Enum<java.security.CryptoPrimitive>
     ↳ java.security.CryptoPrimitive


An enumeration of cryptographic primitives.

Summary

Enum values

CryptoPrimitive  BLOCK_CIPHER

Symmetric primitive: block cipher 

CryptoPrimitive  KEY_AGREEMENT

Asymmetric primitive: key agreement and key distribution 

CryptoPrimitive  KEY_ENCAPSULATION

Asymmetric primitive: key encapsulation mechanism 

CryptoPrimitive  KEY_WRAP

Symmetric primitive: key wrap 

CryptoPrimitive  MAC

Symmetric primitive: message authentication code 

CryptoPrimitive  MESSAGE_DIGEST

Hash function 

CryptoPrimitive  PUBLIC_KEY_ENCRYPTION

Asymmetric primitive: public key encryption 

CryptoPrimitive  SECURE_RANDOM

Cryptographic random number generator 

CryptoPrimitive  SIGNATURE

Asymmetric primitive: signature scheme 

CryptoPrimitive  STREAM_CIPHER

Symmetric primitive: stream cipher 

Public methods

static CryptoPrimitive valueOf(String name)
static final CryptoPrimitive[] values()

Inherited methods

Enum values

BLOCK_CIPHER

Added in API level 24
public static final CryptoPrimitive BLOCK_CIPHER

Symmetric primitive: block cipher

KEY_AGREEMENT

Added in API level 24
public static final CryptoPrimitive KEY_AGREEMENT

Asymmetric primitive: key agreement and key distribution

KEY_ENCAPSULATION

Added in API level 24
public static final CryptoPrimitive KEY_ENCAPSULATION

Asymmetric primitive: key encapsulation mechanism

KEY_WRAP

Added in API level 24
public static final CryptoPrimitive KEY_WRAP

Symmetric primitive: key wrap

MAC

Added in API level 24
public static final CryptoPrimitive MAC

Symmetric primitive: message authentication code

MESSAGE_DIGEST

Added in API level 24
public static final CryptoPrimitive MESSAGE_DIGEST

Hash function

PUBLIC_KEY_ENCRYPTION

Added in API level 24
public static final CryptoPrimitive PUBLIC_KEY_ENCRYPTION

Asymmetric primitive: public key encryption

SECURE_RANDOM

Added in API level 24
public static final CryptoPrimitive SECURE_RANDOM

Cryptographic random number generator

SIGNATURE

Added in API level 24
public static final CryptoPrimitive SIGNATURE

Asymmetric primitive: signature scheme

STREAM_CIPHER

Added in API level 24
public static final CryptoPrimitive STREAM_CIPHER

Symmetric primitive: stream cipher

Public methods

valueOf

public static CryptoPrimitive valueOf (String name)

Parameters
name String

Returns
CryptoPrimitive

values

public static final CryptoPrimitive[] values ()

Returns
CryptoPrimitive[]