GetPivAlgorithm Method
GetPivAlgorithm(KeyType)
Converts a KeyType to its corresponding PivAlgorithm.
C#
public static PivAlgorithm GetPivAlgorithm(this KeyType keyType)
Parameters
Type | Name | Description |
---|---|---|
KeyType | keyType | The key type to convert. |
Returns
The corresponding PivAlgorithm.
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the key type is not supported by PIV. |