public final class DataSignatureManager extends Object
| Constructor and Description |
|---|
DataSignatureManager() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
signData(PrivateKey key,
byte[] data) |
void |
verifySignature(PublicKey key,
byte[] data,
byte[] signatureContent) |
public final byte[] signData(PrivateKey key, byte[] data) throws AlgorithmNotSupportedException, InappropriateKeyException
public final void verifySignature(PublicKey key, byte[] data, byte[] signatureContent) throws AlgorithmNotSupportedException, InappropriateKeyException, CorruptSignatureException, InvalidSignatureException
Copyright © 2010-2013 NWTS Java Code. All Rights Reserved. Licensed Under the Apache License version 2.0.