DsaPublicKeyFromPrivate Method |
Extract the public key from a private key.
Namespace: CryptoSysPQCAssembly: diCrSysPQCNet (in diCrSysPQCNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static byte[] PublicKeyFromPrivate(
DsaAlg alg,
byte[] sk
)
Public Shared Function PublicKeyFromPrivate (
alg As DsaAlg,
sk As Byte()
) As Byte()
Parameters
- alg DsaAlg
- DSA signature algorithm.
- sk Byte
- Private key.
Return Value
BytePublic key
pk .
Exceptions
See Also