Class BcTlsDSASigner
java.lang.Object
org.bouncycastle.tls.crypto.impl.bc.BcTlsSigner
org.bouncycastle.tls.crypto.impl.bc.BcTlsDSSSigner
org.bouncycastle.tls.crypto.impl.bc.BcTlsDSASigner
- All Implemented Interfaces:
TlsSigner
Implementation class for generation of the raw DSA signature type using the BC light-weight API.
-
Field Summary
Fields inherited from class org.bouncycastle.tls.crypto.impl.bc.BcTlsSigner
crypto, privateKey
-
Constructor Summary
ConstructorDescriptionBcTlsDSASigner
(BcTlsCrypto crypto, org.bouncycastle.crypto.params.DSAPrivateKeyParameters privateKey) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.bouncycastle.crypto.DSA
createDSAImpl
(int cryptoHashAlgorithm) protected short
Methods inherited from class org.bouncycastle.tls.crypto.impl.bc.BcTlsDSSSigner
generateRawSignature
Methods inherited from class org.bouncycastle.tls.crypto.impl.bc.BcTlsSigner
getStreamSigner
-
Constructor Details
-
BcTlsDSASigner
public BcTlsDSASigner(BcTlsCrypto crypto, org.bouncycastle.crypto.params.DSAPrivateKeyParameters privateKey)
-
-
Method Details
-
createDSAImpl
protected org.bouncycastle.crypto.DSA createDSAImpl(int cryptoHashAlgorithm) - Specified by:
createDSAImpl
in classBcTlsDSSSigner
-
getSignatureAlgorithm
protected short getSignatureAlgorithm()- Specified by:
getSignatureAlgorithm
in classBcTlsDSSSigner
-