static final class SM2KeyExchange.SM2Possession extends Object implements SSLPossession
| 限定符和类型 | 字段和说明 |
|---|---|
(专用程序包) SupportedGroupsExtension.NamedGroup |
namedGroup |
(专用程序包) PrivateKey |
privateKey |
(专用程序包) org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey |
publicKey |
(专用程序包) BigInteger |
randomNum |
| 构造器和说明 |
|---|
SM2Possession(SM2KeyExchange.SM2Credentials credentials,
SecureRandom random,
ConnectionContext context) |
SM2Possession(SupportedGroupsExtension.NamedGroup namedGroup,
SecureRandom random,
ConnectionContext context) |
final PrivateKey privateKey
final org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey publicKey
final SupportedGroupsExtension.NamedGroup namedGroup
final BigInteger randomNum
SM2Possession(SupportedGroupsExtension.NamedGroup namedGroup, SecureRandom random, ConnectionContext context)
SM2Possession(SM2KeyExchange.SM2Credentials credentials, SecureRandom random, ConnectionContext context)
public byte[] encode()
encode 在接口中 SSLPossessionCopyright © 2023. All rights reserved.