Click or drag to resize

DsaPublicKeyFromPrivate Method

Extract the public key from a private key.

Namespace: CryptoSysPQC
Assembly: diCrSysPQCNet (in diCrSysPQCNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static byte[] PublicKeyFromPrivate(
	DsaAlg alg,
	byte[] sk
)

Parameters

alg  DsaAlg
DSA signature algorithm.
sk  Byte
Private key.

Return Value

Byte
Public key pk .
Exceptions
ExceptionCondition
PqcErrorExceptionIf parameters are bad, wrong lengths, etc.
See Also