public static enum ImportKeyDetails.ProtectionMode extends Enum<ImportKeyDetails.ProtectionMode> implements BmcEnum
The key’s protection mode indicates how the key persists and where cryptographic operations
that use the key are performed. A protection mode of
HSM means that the key persists
on a hardware security module (HSM) and all cryptographic operations are performed inside the
HSM. A protection mode of
SOFTWARE means that the key persists on the server,
protected by the vault’s RSA wrapping key which persists on the HSM. All cryptographic
operations that use a key with a protection mode of
SOFTWARE are performed on the
server. By default, a key’s protection mode is set to
HSM. You can’t change a key’s
protection mode after the key is created or imported.
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final ImportKeyDetails.ProtectionMode Hsm
public static final ImportKeyDetails.ProtectionMode Software
public static ImportKeyDetails.ProtectionMode values()
for (ImportKeyDetails.ProtectionMode c : ImportKeyDetails.ProtectionMode.values()) System.out.println(c);
public static ImportKeyDetails.ProtectionMode valueOf(String name)
Copyright © 2016–2023. All rights reserved.