Class BcTlsSM2Signer
- java.lang.Object
-
- org.bouncycastle.tls.crypto.impl.bc.BcTlsSigner
-
- org.bouncycastle.tls.crypto.impl.bc.BcTlsSM2Signer
-
- All Implemented Interfaces:
TlsSigner
public class BcTlsSM2Signer extends BcTlsSigner
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]
identifier
-
Fields inherited from class org.bouncycastle.tls.crypto.impl.bc.BcTlsSigner
crypto, privateKey
-
-
Constructor Summary
Constructors Constructor Description BcTlsSM2Signer(BcTlsCrypto crypto, org.bouncycastle.crypto.params.ECPrivateKeyParameters privateKey, byte[] identifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TlsStreamSigner
getStreamSigner(SignatureAndHashAlgorithm algorithm)
-
Methods inherited from class org.bouncycastle.tls.crypto.impl.bc.BcTlsSigner
generateRawSignature
-
-
-
-
Constructor Detail
-
BcTlsSM2Signer
public BcTlsSM2Signer(BcTlsCrypto crypto, org.bouncycastle.crypto.params.ECPrivateKeyParameters privateKey, byte[] identifier)
-
-
Method Detail
-
getStreamSigner
public TlsStreamSigner getStreamSigner(SignatureAndHashAlgorithm algorithm)
- Specified by:
getStreamSigner
in interfaceTlsSigner
- Overrides:
getStreamSigner
in classBcTlsSigner
-
-