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


枚举密码原语。

Summary

Enum values

CryptoPrimitive  BLOCK_CIPHER

对称原语:分组密码

CryptoPrimitive  KEY_AGREEMENT

不对称原语:密钥协议和密钥分发

CryptoPrimitive  KEY_ENCAPSULATION

不对称原语:密钥封装机制

CryptoPrimitive  KEY_WRAP

对称基元:密钥包装

CryptoPrimitive  MAC

对称原语:消息认证码

CryptoPrimitive  MESSAGE_DIGEST

散列函数

CryptoPrimitive  PUBLIC_KEY_ENCRYPTION

不对称原语:公钥加密

CryptoPrimitive  SECURE_RANDOM

密码随机数发生器

CryptoPrimitive  SIGNATURE

不对称原语:签名方案

CryptoPrimitive  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

对称原语:分组密码

KEY_AGREEMENT

Added in API level 24
CryptoPrimitive KEY_AGREEMENT

不对称原语:密钥协议和密钥分发

KEY_ENCAPSULATION

Added in API level 24
CryptoPrimitive KEY_ENCAPSULATION

不对称原语:密钥封装机制

KEY_WRAP

Added in API level 24
CryptoPrimitive KEY_WRAP

对称基元:密钥包装

MAC

Added in API level 24
CryptoPrimitive MAC

对称原语:消息认证码

MESSAGE_DIGEST

Added in API level 24
CryptoPrimitive MESSAGE_DIGEST

散列函数

PUBLIC_KEY_ENCRYPTION

Added in API level 24
CryptoPrimitive PUBLIC_KEY_ENCRYPTION

不对称原语:公钥加密

SECURE_RANDOM

Added in API level 24
CryptoPrimitive SECURE_RANDOM

密码随机数发生器

SIGNATURE

Added in API level 24
CryptoPrimitive SIGNATURE

不对称原语:签名方案

STREAM_CIPHER

Added in API level 24
CryptoPrimitive 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!