SignResult Class
- java.
lang. Object - com.
azure. security. keyvault. keys. cryptography. models. SignResult
- com.
public final class SignResult
Represents the details of sign operation result.
Constructor Summary
Constructor | Description |
---|---|
SignResult(byte[] signature, SignatureAlgorithm algorithm, String keyId) |
Creates the instance of Sign |
Method Summary
Modifier and Type | Method and Description |
---|---|
Signature |
getAlgorithm()
Get the signature algorithm used to create the signature. |
String |
getKeyId()
Get the identifier of the key used for the verify operation |
byte[] |
getSignature()
Get the signature created from the digest. |
Methods inherited from java.lang.Object
Constructor Details
SignResult
public SignResult(byte[] signature, SignatureAlgorithm algorithm, String keyId)
Creates the instance of SignResult holding the sign operation response details.
Parameters:
Method Details
getAlgorithm
public SignatureAlgorithm getAlgorithm()
Get the signature algorithm used to create the signature.
Returns:
getKeyId
public String getKeyId()
Get the identifier of the key used for the verify operation
Returns:
getSignature
public byte[] getSignature()
Get the signature created from the digest.
Returns:
Applies to
Azure SDK for Java