Class SignResult


  • public final class SignResult
    extends Object
    Represents the details of sign operation result.
    • Constructor Detail

      • SignResult

        public SignResult​(byte[] signature,
                          SignatureAlgorithm algorithm,
                          String keyId)
        Creates the instance of SignResult holding the sign operation response details.
        Parameters:
        signature - The signature created from the digest.
        algorithm - The algorithm used to sign the digest.
        keyId - The identifier of the key usd for the sign operation.
    • Method Detail

      • getKeyId

        public String getKeyId()
        Get the identifier of the key used for the verify operation
        Returns:
        the key identifier
      • getSignature

        public byte[] getSignature()
        Get the signature created from the digest.
        Returns:
        The signature.
      • getAlgorithm

        public SignatureAlgorithm getAlgorithm()
        Get the signature algorithm used to create the signature.
        Returns:
        The signature algorithm.