public class BcTlsSM2Signer extends BcTlsSigner
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
identifier |
crypto, privateKey| Constructor and Description |
|---|
BcTlsSM2Signer(BcTlsCrypto crypto,
org.bouncycastle.crypto.params.ECPrivateKeyParameters privateKey,
int signatureScheme) |
| Modifier and Type | Method and Description |
|---|---|
TlsStreamSigner |
getStreamSigner(SignatureAndHashAlgorithm algorithm) |
generateRawSignaturepublic BcTlsSM2Signer(BcTlsCrypto crypto, org.bouncycastle.crypto.params.ECPrivateKeyParameters privateKey, int signatureScheme)
public TlsStreamSigner getStreamSigner(SignatureAndHashAlgorithm algorithm)
getStreamSigner in interface TlsSignergetStreamSigner in class BcTlsSigner