Interface RootCertificatePublicKey.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RootCertificatePublicKey.Builder,RootCertificatePublicKey>, SdkBuilder<RootCertificatePublicKey.Builder,RootCertificatePublicKey>, SdkPojo
Enclosing class:
RootCertificatePublicKey

public static interface RootCertificatePublicKey.Builder extends SdkPojo, CopyableBuilder<RootCertificatePublicKey.Builder,RootCertificatePublicKey>
  • Method Details

    • keyAttributes

      RootCertificatePublicKey.Builder keyAttributes(KeyAttributes keyAttributes)

      The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the root public key is imported.

      Parameters:
      keyAttributes - The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the root public key is imported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyAttributes

      default RootCertificatePublicKey.Builder keyAttributes(Consumer<KeyAttributes.Builder> keyAttributes)

      The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the root public key is imported.

      This is a convenience method that creates an instance of the KeyAttributes.Builder avoiding the need to create one manually via KeyAttributes.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to keyAttributes(KeyAttributes).

      Parameters:
      keyAttributes - a consumer that will call methods on KeyAttributes.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • publicKeyCertificate

      RootCertificatePublicKey.Builder publicKeyCertificate(String publicKeyCertificate)

      Parameter information for root public key certificate import.

      Parameters:
      publicKeyCertificate - Parameter information for root public key certificate import.
      Returns:
      Returns a reference to this object so that method calls can be chained together.