PivAlgorithmExtensions Class
Namespace: Yubico.YubiKey.Piv Assembly: Yubico.YubiKey.dllExtension methods to operate on the PivAlgorithm enum.
C#
public static class PivAlgorithmExtensions : Object
Inheritance
System.Object
PivAlgorithmExtensions
Methods
Name | Description |
---|---|
IsEcc(PivAlgorithm) | Determines if the given algorithm is ECC. |
IsRsa(PivAlgorithm) | Determines if the given algorithm is RSA. |
IsValidAlgorithmForGenerate(PivAlgorithm) | Determines if the given algorithm is one that can be used to generate a key pair. |
KeySizeBits(PivAlgorithm) | The size of a key, in bits, of the given algorithm. |