GetPivKeyDefinition Method
GetPivKeyDefinition(KeyDefinition)
Gets the PivAlgorithmDefinition for a given KeyDefinition.
C#
public static PivAlgorithmDefinition GetPivKeyDefinition(this KeyDefinition keyDefinition)
Parameters
Type | Name | Description |
---|---|---|
KeyDefinition | keyDefinition | The key definition to look up. |
Returns
The corresponding PivAlgorithmDefinition.
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Thrown when no matching algorithm definition is found. |
GetPivKeyDefinition(PivAlgorithm)
Gets the PivAlgorithmDefinition for a given PivAlgorithm.
C#
public static PivAlgorithmDefinition GetPivKeyDefinition(this PivAlgorithm algorithm)
Parameters
Type | Name | Description |
---|---|---|
PivAlgorithm | algorithm | The PIV algorithm to look up. |
Returns
The corresponding PivAlgorithmDefinition, or null if not found.