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,
byte[] identifier) |
Modifier and Type | Method and Description |
---|---|
TlsStreamSigner |
getStreamSigner(SignatureAndHashAlgorithm algorithm) |
generateRawSignature
public BcTlsSM2Signer(BcTlsCrypto crypto, org.bouncycastle.crypto.params.ECPrivateKeyParameters privateKey, byte[] identifier)
public TlsStreamSigner getStreamSigner(SignatureAndHashAlgorithm algorithm)
getStreamSigner
in interface TlsSigner
getStreamSigner
in class BcTlsSigner