public class PowerAuthServerSignature extends Object
| Constructor and Description |
|---|
PowerAuthServerSignature() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
verifySignatureForData(byte[] data,
String signature,
List<SecretKey> signatureKeys,
long ctr)
Verify a PowerAuth 2.0 signature against data using signature key list and
counter.
|
public boolean verifySignatureForData(byte[] data,
String signature,
List<SecretKey> signatureKeys,
long ctr)
throws InvalidKeyException
data - Signed data.signature - Signature for the data.signatureKeys - Keys used for signature.ctr - Counter / derived signing key index.InvalidKeyException - If provided key is invalid.Copyright © 2016 Lime - HighTech Solutions Inc.. All rights reserved.