Share via


X509VerificationMethod.AddNewTrustedCertificate Method (String, String)

 

Adds a new trusted certificate, specified by filename and thumbprint, to the list of trusted certificates for signature validation.

Namespace:   System.Web.Security.SingleSignOn
Assembly:  System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)

Syntax

public void AddNewTrustedCertificate(
    string filename,
    string thumbprint
)
public:
void AddNewTrustedCertificate(
    String^ filename,
    String^ thumbprint
)
member AddNewTrustedCertificate : 
        filename:string *
        thumbprint:string -> unit
Public Sub AddNewTrustedCertificate (
    filename As String,
    thumbprint As String
)

Parameters

  • filename
    Type: System.String

    The file name for the certificate to add.

  • thumbprint
    Type: System.String

    The thumbprint of the certificate to add.

See Also

AddNewTrustedCertificate Overload
X509VerificationMethod Class
System.Web.Security.SingleSignOn Namespace

Return to top