public abstract class AbstractSignature extends Object implements Signature
| Modifier and Type | Field and Description |
|---|---|
protected String |
algorithm |
protected Signature |
signature |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSignature(String algorithm) |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
extractSig(byte[] sig) |
void |
init(PublicKey pubkey,
PrivateKey prvkey)
Initialize this signature with the given public key and private key.
|
void |
update(byte[] foo,
int off,
int len)
Update the computed signature with the given data
|
protected AbstractSignature(String algorithm)
public void init(PublicKey pubkey, PrivateKey prvkey) throws Exception
Signaturepublic void update(byte[] foo,
int off,
int len)
throws Exception
Signatureprotected byte[] extractSig(byte[] sig)
Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.