7 references to FromKey
System.Security.Cryptography.Cose (7)
System\Security\Cryptography\Cose\CoseKey.cs (6)
90
CoseAlgorithm.RS256 =>
FromKey
(rsaKey, RSASignaturePadding.Pkcs1, HashAlgorithmName.SHA256),
91
CoseAlgorithm.RS384 =>
FromKey
(rsaKey, RSASignaturePadding.Pkcs1, HashAlgorithmName.SHA384),
92
CoseAlgorithm.RS512 =>
FromKey
(rsaKey, RSASignaturePadding.Pkcs1, HashAlgorithmName.SHA512),
93
CoseAlgorithm.PS256 =>
FromKey
(rsaKey, RSASignaturePadding.Pss, HashAlgorithmName.SHA256),
94
CoseAlgorithm.PS384 =>
FromKey
(rsaKey, RSASignaturePadding.Pss, HashAlgorithmName.SHA384),
95
CoseAlgorithm.PS512 =>
FromKey
(rsaKey, RSASignaturePadding.Pss, HashAlgorithmName.SHA512),
System\Security\Cryptography\Cose\CoseSigner.cs (1)
121
CoseKey = CoseKey.
FromKey
(key, signaturePadding, hashAlgorithm);