public class SignatureHelper extends Object
User: Kirill, Date: 31.03.14 0:46
Modifier and Type | Field and Description |
---|---|
private byte[][] |
pubKeyBytes |
Constructor and Description |
---|
SignatureHelper() |
Modifier and Type | Method and Description |
---|---|
boolean |
verifySignature(ActivationCodeInfo activationCodeInfo)
Make sure ActivationCode signed correctly.
|
private boolean |
verifySignature(ActivationCodeInfo activationCodeInfo,
byte[] pubKeyBytes) |
public boolean verifySignature(ActivationCodeInfo activationCodeInfo) throws NoSuchAlgorithmException, InvalidKeySpecException, InvalidKeyException, SignatureException, IOException
activationCodeInfo
- to checkNoSuchAlgorithmException
InvalidKeySpecException
InvalidKeyException
SignatureException
IOException
private boolean verifySignature(ActivationCodeInfo activationCodeInfo, byte[] pubKeyBytes) throws NoSuchAlgorithmException, InvalidKeySpecException, InvalidKeyException, SignatureException
Copyright © 2015. All rights reserved.