org.bouncycastle.tls.crypto.impl.bc.BcTlsDSAVerifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bctls-lts8on Show documentation
Show all versions of bctls-lts8on Show documentation
The Bouncy Castle Java APIs for the TLS, including a JSSE provider. The APIs are designed primarily to be used in conjunction with the BC LTS provider but may also be used with other providers providing cryptographic services.
package org.bouncycastle.tls.crypto.impl.bc;
import org.bouncycastle.crypto.DSA;
import org.bouncycastle.crypto.params.DSAPublicKeyParameters;
import org.bouncycastle.crypto.signers.DSASigner;
import org.bouncycastle.tls.SignatureAlgorithm;
/**
* Implementation class for the verification of the raw DSA signature type using the BC light-weight API.
*/
public class BcTlsDSAVerifier
extends BcTlsDSSVerifier
{
public BcTlsDSAVerifier(BcTlsCrypto crypto, DSAPublicKeyParameters publicKey)
{
super(crypto, publicKey);
}
protected DSA createDSAImpl()
{
return new DSASigner();
}
protected short getSignatureAlgorithm()
{
return SignatureAlgorithm.dsa;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy