Most visited

Recently visited

Added in API level 24

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

From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

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[]

Hooray!