GetSupportedCaIdentifiers Method
GetSupportedCaIdentifiers(Boolean, Boolean)
Gets the supported CA identifiers for KLOC and/or KLCC.
C#
public IReadOnlyDictionary<KeyReference, ReadOnlyMemory<byte>> GetSupportedCaIdentifiers(bool kloc, bool klcc)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | kloc | Whether to retrieve Key Loading OCE Certificate (KLOC) identifiers. |
System.Boolean | klcc | Whether to retrieve Key Loading Card Certificate (KLCC) identifiers. |
Returns
A dictionary of KeyReference and byte arrays representing the CA identifiers.
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when both kloc and klcc are false. |
SecureChannelException | Thrown when there was an SCP error, described in the exception message. |