public final class SignResult extends Object
Constructor and Description |
---|
SignResult(byte[] signature,
SignatureAlgorithm algorithm,
String keyId)
Creates the instance of SignResult holding the sign operation response details.
|
Modifier and Type | Method and Description |
---|---|
SignatureAlgorithm |
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.
|
public SignResult(byte[] signature, SignatureAlgorithm algorithm, String keyId)
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.public String getKeyId()
public byte[] getSignature()
public SignatureAlgorithm getAlgorithm()
Copyright © 2020 Microsoft Corporation. All rights reserved.