ConfigurationBasedIssuerNameRegistry.AddTrustedIssuer(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds an issuer to the dictionary of trusted issuers.
public:
void AddTrustedIssuer(System::String ^ certificateThumbprint, System::String ^ name);
public void AddTrustedIssuer (string certificateThumbprint, string name);
member this.AddTrustedIssuer : string * string -> unit
Public Sub AddTrustedIssuer (certificateThumbprint As String, name As String)
Parameters
- certificateThumbprint
- String
ASN.1 encoded form of the issuer's certificate thumbprint.
- name
- String
The name of the issuer.
Exceptions
The issuer specified by certificateThumbprint
has already been configured. (The issuer already exists in the ConfiguredTrustedIssuers dictionary.)
Remarks
You can call this method to add issuers to the ConfiguredTrustedIssuers dictionary. In derived classes, you can call this method from the LoadCustomConfiguration method to add issuers to the dictionary.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om