Class EcdhDerivationAttributes

    • Method Detail

      • certificateAuthorityPublicKeyIdentifier

        public final String certificateAuthorityPublicKeyIdentifier()

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

        Returns:
        The keyArn of the certificate that signed the client's PublicKeyCertificate.
      • publicKeyCertificate

        public final String publicKeyCertificate()

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

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

        public final String keyDerivationFunctionAsString()

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

        If the service returns an enum value that is not available in the current SDK version, keyDerivationFunction will return KeyDerivationFunction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from keyDerivationFunctionAsString().

        Returns:
        The key derivation function to use for deriving a key using ECDH.
        See Also:
        KeyDerivationFunction
      • sharedInformation

        public final 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.

        Returns:
        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.

      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)