Class PrivateCertificateCryptoKey

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class PrivateCertificateCryptoKey
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The data that is associated with a cryptographic key.
    • Method Detail

      • 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