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
public static final CryptoPrimitive BLOCK_CIPHER
Symmetric primitive: block cipher
KEY_AGREEMENT
public static final CryptoPrimitive KEY_AGREEMENT
Asymmetric primitive: key agreement and key distribution
KEY_ENCAPSULATION
public static final CryptoPrimitive KEY_ENCAPSULATION
Asymmetric primitive: key encapsulation mechanism
KEY_WRAP
public static final CryptoPrimitive KEY_WRAP
Symmetric primitive: key wrap
MAC
public static final CryptoPrimitive MAC
Symmetric primitive: message authentication code
MESSAGE_DIGEST
public static final CryptoPrimitive MESSAGE_DIGEST
Hash function
PUBLIC_KEY_ENCRYPTION
public static final CryptoPrimitive PUBLIC_KEY_ENCRYPTION
Asymmetric primitive: public key encryption
SECURE_RANDOM
public static final CryptoPrimitive SECURE_RANDOM
Cryptographic random number generator
SIGNATURE
public static final CryptoPrimitive SIGNATURE
Asymmetric primitive: signature scheme
STREAM_CIPHER
public static final CryptoPrimitive STREAM_CIPHER
Symmetric primitive: stream cipher
Public methods
valueOf
public static CryptoPrimitive valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
CryptoPrimitive |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-06-18 UTC.