Class SignResult
- java.lang.Object
-
- com.azure.security.keyvault.keys.cryptography.models.SignResult
-
public final class SignResult extends Object
Represents the details of sign operation result.
-
-
Constructor Summary
Constructors Constructor Description SignResult(byte[] signature, SignatureAlgorithm algorithm, String keyId)
Creates the instance of SignResult holding the sign operation response details.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SignatureAlgorithm
getAlgorithm()
Get the signature algorithm used to create the signature.String
getKeyId()
Get the identifier of the key used for the verify operationbyte[]
getSignature()
Get the signature created from the digest.
-
-
-
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.
-
-