public enum CiphertextType extends Enum<CiphertextType>
Format: CiphertextType(byte value representing the type)
Enum Constant and Description |
---|
CUSTOMER_AUTHENTICATED_ENCRYPTED_DATA |
Modifier and Type | Method and Description |
---|---|
static CiphertextType |
deserialize(byte value)
Deserialize the provided byte value by returning the CiphertextType object representing the
byte value.
|
byte |
getValue()
Return the value used to encode this ciphertext type object in the ciphertext.
|
static CiphertextType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CiphertextType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CiphertextType CUSTOMER_AUTHENTICATED_ENCRYPTED_DATA
public static CiphertextType[] values()
for (CiphertextType c : CiphertextType.values()) System.out.println(c);
public static CiphertextType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic byte getValue()
public static CiphertextType deserialize(byte value)
value
- the byte representing the value of the CiphertextType object.Copyright © 2023. All rights reserved.