Class SignResult
java.lang.Object
com.azure.security.keyvault.keys.cryptography.models.SignResult
Represents the details of sign operation result.
-
Constructor Summary
ConstructorDescriptionSignResult
(byte[] signature, SignatureAlgorithm algorithm, String keyId) Creates the instance of SignResult holding the sign operation response details. -
Method Summary
Modifier and TypeMethodDescriptionGet the signature algorithm used to create the signature.getKeyId()
Get the identifier of the key used for the verify operationbyte[]
Get the signature created from the digest.
-
Constructor Details
-
SignResult
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 Details
-
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
Get the signature algorithm used to create the signature.- Returns:
- The signature algorithm.
-