public enum KeyFormatType extends Enum<KeyFormatType>
| Modifier and Type | Method and Description |
|---|---|
static KeyFormatType |
from(int code) |
static KeyFormatType |
from(String name) |
int |
getCode() |
String |
toString() |
static KeyFormatType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyFormatType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyFormatType Raw
public static final KeyFormatType Opaque
public static final KeyFormatType PKCS1
public static final KeyFormatType PKCS8
public static final KeyFormatType X509
public static final KeyFormatType ECPrivateKey
public static final KeyFormatType TransparentSymmetricKey
public static final KeyFormatType TransparentDSAPrivateKey
public static final KeyFormatType TransparentDSAPublicKey
public static final KeyFormatType TransparentRSAPrivateKey
public static final KeyFormatType TransparentRSAPublicKey
public static final KeyFormatType TransparentDHPrivateKey
public static final KeyFormatType TransparentDHPublicKey
public static final KeyFormatType TransparentECPrivateKey
public static final KeyFormatType TransparentECPublicKey
public static final KeyFormatType PKCS12
public static final KeyFormatType PKCS10
public static final KeyFormatType McfeSecretKey
public static final KeyFormatType McfeMasterSecretKey
public static final KeyFormatType McfeFunctionalKey
public static final KeyFormatType McfeFksSecretKey
public static final KeyFormatType EnclaveECKeyPair
public static final KeyFormatType EnclaveECSharedKey
public static final KeyFormatType TFHE
public static final KeyFormatType AbeMasterSecretKey
public static final KeyFormatType AbeMasterPublicKey
public static final KeyFormatType AbeUserDecryptionKey
public static final KeyFormatType AbeSymmetricKey
public static final KeyFormatType CoverCryptSecretKey
public static final KeyFormatType CoverCryptPublicKey
public static KeyFormatType[] values()
for (KeyFormatType c : KeyFormatType.values()) System.out.println(c);
public static KeyFormatType 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 int getCode()
public String toString()
toString in class Enum<KeyFormatType>public static KeyFormatType from(String name) throws IllegalArgumentException
IllegalArgumentExceptionpublic static KeyFormatType from(int code) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2022. All rights reserved.