CryptSigner(AsymmetricKeyPair, Oid) Constructor
Initializes a new instance of CryptSigner from an asymmetric key pair and optional
hashing algorithm.
Namespace: SysadminsLV.PKI.CryptographyAssembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
public CryptSigner(
AsymmetricKeyPair keyPair,
Oid hashingAlgorithm = null
)
Public Sub New (
keyPair As AsymmetricKeyPair,
Optional hashingAlgorithm As Oid = Nothing
)
public:
CryptSigner(
AsymmetricKeyPair^ keyPair,
Oid^ hashingAlgorithm = nullptr
)
new :
keyPair : AsymmetricKeyPair *
?hashingAlgorithm : Oid
(* Defaults:
let _hashingAlgorithm = defaultArg hashingAlgorithm null
*)
-> CryptSigner
Parameters
- keyPair AsymmetricKeyPair
- An asymmetric key instance.
- hashingAlgorithm Oid (Optional)
- Optional hashing algorithm. Default is SHA256.