public abstract class Signature extends SignatureSpi
Modifier and Type | Field and Description |
---|---|
protected static int |
SIGN |
protected int |
state |
protected static int |
UNINITIALIZED |
protected static int |
VERIFY |
appRandom
Modifier | Constructor and Description |
---|---|
protected |
Signature(String var0) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
String |
getAlgorithm() |
static Signature |
getInstance(String var0) |
static Signature |
getInstance(String var0,
String var1) |
Provider |
getProvider() |
void |
initSign(PrivateKey var0) |
void |
initSign(PrivateKey var0,
SecureRandom var1) |
void |
initVerify(Certificate var0) |
void |
initVerify(PublicKey var0) |
void |
setParameter(AlgorithmParameterSpec var0) |
byte[] |
sign() |
int |
sign(byte[] var0,
int var1,
int var2) |
String |
toString() |
void |
update(byte var0) |
void |
update(byte[] var0) |
void |
update(byte[] var0,
int var1,
int var2) |
boolean |
verify(byte[] var0) |
engineInitSign, engineInitSign, engineInitVerify, engineSetParameter, engineSign, engineSign, engineUpdate, engineUpdate, engineVerify
protected static final int UNINITIALIZED
protected static final int SIGN
protected static final int VERIFY
protected int state
protected Signature(String var0)
public Object clone() throws CloneNotSupportedException
clone
in class SignatureSpi
CloneNotSupportedException
public final String getAlgorithm()
public static Signature getInstance(String var0) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public static Signature getInstance(String var0, String var1) throws NoSuchAlgorithmException, NoSuchProviderException
public final Provider getProvider()
public final void initSign(PrivateKey var0) throws InvalidKeyException
InvalidKeyException
public final void initSign(PrivateKey var0, SecureRandom var1) throws InvalidKeyException
InvalidKeyException
public final void initVerify(PublicKey var0) throws InvalidKeyException
InvalidKeyException
public final void initVerify(Certificate var0) throws InvalidKeyException
InvalidKeyException
public final void setParameter(AlgorithmParameterSpec var0) throws InvalidAlgorithmParameterException
public final byte[] sign() throws SignatureException
SignatureException
public final int sign(byte[] var0, int var1, int var2) throws SignatureException
SignatureException
public final void update(byte[] var0) throws SignatureException
SignatureException
public final void update(byte[] var0, int var1, int var2) throws SignatureException
SignatureException
public final void update(byte var0) throws SignatureException
SignatureException
public final boolean verify(byte[] var0) throws SignatureException
SignatureException
Copyright © 2006–2013 OSGi Alliance. All rights reserved.