Interface EcdhDerivationAttributes.Builder

    • Method Detail

      • certificateAuthorityPublicKeyIdentifier

        EcdhDerivationAttributes.Builder certificateAuthorityPublicKeyIdentifier​(String certificateAuthorityPublicKeyIdentifier)

        The keyArn of the certificate that signed the client's PublicKeyCertificate.

        Parameters:
        certificateAuthorityPublicKeyIdentifier - The keyArn of the certificate that signed the client's PublicKeyCertificate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • publicKeyCertificate

        EcdhDerivationAttributes.Builder publicKeyCertificate​(String publicKeyCertificate)

        The client's public key certificate in PEM format (base64 encoded) to use for ECDH key derivation.

        Parameters:
        publicKeyCertificate - The client's public key certificate in PEM format (base64 encoded) to use for ECDH key derivation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • keyDerivationFunction

        EcdhDerivationAttributes.Builder keyDerivationFunction​(String keyDerivationFunction)

        The key derivation function to use for deriving a key using ECDH.

        Parameters:
        keyDerivationFunction - The key derivation function to use for deriving a key using ECDH.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        KeyDerivationFunction, KeyDerivationFunction
      • sharedInformation

        EcdhDerivationAttributes.Builder sharedInformation​(String sharedInformation)

        A byte string containing information that binds the ECDH derived key to the two parties involved or to the context of the key.

        It may include details like identities of the two parties deriving the key, context of the operation, session IDs, and optionally a nonce. It must not contain zero bytes, and re-using shared information for multiple ECDH key derivations is not recommended.

        Parameters:
        sharedInformation - A byte string containing information that binds the ECDH derived key to the two parties involved or to the context of the key.

        It may include details like identities of the two parties deriving the key, context of the operation, session IDs, and optionally a nonce. It must not contain zero bytes, and re-using shared information for multiple ECDH key derivations is not recommended.

        Returns:
        Returns a reference to this object so that method calls can be chained together.