Class PrivateCertificateCryptoKey
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2.model.PrivateCertificateCryptoKey
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class PrivateCertificateCryptoKey extends com.ibm.cloud.sdk.core.service.model.GenericModelThe data that is associated with a cryptographic key.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPrivateCertificateCryptoKey.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanallowGenerateKey()Gets the allowGenerateKey.Stringid()Gets the id.Stringlabel()Gets the label.PrivateCertificateCryptoKey.BuildernewBuilder()New builder.PrivateCertificateCryptoProviderprovider()Gets the provider.
-
-
-
Method Detail
-
newBuilder
public PrivateCertificateCryptoKey.Builder newBuilder()
New builder.- Returns:
- a PrivateCertificateCryptoKey builder
-
id
public String id()
Gets the id. The ID of a PKCS#11 key to use. If the key does not exist and generation is enabled, this ID is given to the generated key. If the key exists, and generation is disabled, then this ID is used to look up the key. This value or the crypto key label must be specified.- Returns:
- the id
-
label
public String label()
Gets the label. The label of the key to use. If the key does not exist and generation is enabled, this field is the label that is given to the generated key. If the key exists, and generation is disabled, then this label is used to look up the key. This value or the crypto key ID must be specified.- Returns:
- the label
-
allowGenerateKey
public Boolean allowGenerateKey()
Gets the allowGenerateKey. The indication of whether a new key is generated by the crypto provider if the given key name cannot be found.- Returns:
- the allowGenerateKey
-
provider
public PrivateCertificateCryptoProvider provider()
Gets the provider. The data that is associated with a cryptographic provider.- Returns:
- the provider
-
-