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
CryptoPrimitive BLOCK_CIPHER

Symmetric primitive: block cipher

KEY_AGREEMENT

added in API level 24
CryptoPrimitive KEY_AGREEMENT

Asymmetric primitive: key agreement and key distribution

KEY_ENCAPSULATION

added in API level 24
CryptoPrimitive KEY_ENCAPSULATION

Asymmetric primitive: key encapsulation mechanism

KEY_WRAP

added in API level 24
CryptoPrimitive KEY_WRAP

Symmetric primitive: key wrap

MAC

added in API level 24
CryptoPrimitive MAC

Symmetric primitive: message authentication code

MESSAGE_DIGEST

added in API level 24
CryptoPrimitive MESSAGE_DIGEST

Hash function

PUBLIC_KEY_ENCRYPTION

added in API level 24
CryptoPrimitive PUBLIC_KEY_ENCRYPTION

Asymmetric primitive: public key encryption

SECURE_RANDOM

added in API level 24
CryptoPrimitive SECURE_RANDOM

Cryptographic random number generator

SIGNATURE

added in API level 24
CryptoPrimitive SIGNATURE

Asymmetric primitive: signature scheme

STREAM_CIPHER

added in API level 24
CryptoPrimitive STREAM_CIPHER

Symmetric primitive: stream cipher

Public methods

valueOf

added in API level 24
CryptoPrimitive valueOf (String name)

Parameters
name String

Returns
CryptoPrimitive

values

added in API level 24
CryptoPrimitive[] values ()

Returns
CryptoPrimitive[]