gnu.crypto.pki.provider
Class DSASignature
java.lang.Object
java.security.SignatureSpi
gnu.crypto.pki.provider.DSASignature
- public class DSASignature
- extends SignatureSpi
DSASignature
public DSASignature()
throws NoSuchAlgorithmException
engineInitVerify
public void engineInitVerify(PublicKey publicKey)
throws InvalidKeyException
- Throws:
InvalidKeyException
engineInitSign
public void engineInitSign(PrivateKey privateKey)
throws InvalidKeyException
- Throws:
InvalidKeyException
engineInitSign
public void engineInitSign(PrivateKey privateKey,
SecureRandom random)
throws InvalidKeyException
- Throws:
InvalidKeyException
engineUpdate
public void engineUpdate(byte b)
throws SignatureException
- Throws:
SignatureException
engineUpdate
public void engineUpdate(byte[] b,
int off,
int len)
throws SignatureException
- Throws:
SignatureException
engineSign
public byte[] engineSign()
throws SignatureException
- Throws:
SignatureException
engineSign
public int engineSign(byte[] outbuf,
int offset,
int len)
throws SignatureException
- Throws:
SignatureException
engineVerify
public boolean engineVerify(byte[] sigBytes)
throws SignatureException
- Throws:
SignatureException
engineSetParameter
public void engineSetParameter(String param,
Object value)
throws InvalidParameterException
- Throws:
InvalidParameterException
engineSetParameter
public void engineSetParameter(AlgorithmParameterSpec params)
throws InvalidAlgorithmParameterException
- Throws:
InvalidAlgorithmParameterException
engineGetParameter
public Object engineGetParameter(String param)
throws InvalidParameterException
- Throws:
InvalidParameterException
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.