Class Certificate
- Namespace
- ComponentSpace.Saml2.Configuration
- Assembly
- ComponentSpace.Saml2.dll
The certificate configuration identifies an X.509 certificate stored as a string, in a file, in the Windows certificate store, or elsewhere in the configuration.
If the certificate is stored as a string, the certificate base-64 encoded string must be specified and, if the certificate includes a private key, the password.
If the certificate is stored in a file, the file name must be specified and, if the file includes a private key, the password.
If the certificate is stored in the Windows certificate store, the store name and location must be specified as well as the certificate's serial number, thumbprint or subject name.
If the certificate is stored elsewhere in the configuration, the configuration key must be specified. This may be used to retrieve certificates stored in an Azure key vault.
public class Certificate : Entity
- Inheritance
-
Certificate
- Inherited Members
Properties
DisableValidationCheck
Gets or sets the flag indicating whether the certificate is validated.
public bool DisableValidationCheck { get; set; }
Property Value
- bool
The flag indicating whether the certificate is validated.
FileName
Gets or sets the certificate file name.
The file contains a base-64 encoded, DER encoded or PFX/PKCS12 X.509 certificate.
public string FileName { get; set; }
Property Value
- string
The certificate file name or
nullif none.
Key
Gets or sets the configuration key.
public string Key { get; set; }
Property Value
- string
The configuration key or
nullif none.
Password
Gets or sets the certificate password.
A password is required with PFX/PKCS12 X.509 certificates.
public string Password { get; set; }
Property Value
- string
The password or
nullif none.
SerialNumber
Gets or sets the certificate serial number.
public string SerialNumber { get; set; }
Property Value
- string
The certificate serial number or
nullif none.
StoreLocation
Gets or sets the Windows certificate store location.
public string StoreLocation { get; set; }
Property Value
- string
The Windows certificate store location.
StoreName
Gets or sets the Windows certificate store name.
public string StoreName { get; set; }
Property Value
- string
The Windows certificate store name.
String
Gets or sets the certificate base-64 encoded string.
public string String { get; set; }
Property Value
- string
The certificate string or
nullif none.
SubjectName
Gets or sets the certificate subject name.
public string SubjectName { get; set; }
Property Value
- string
The certificate subject name or
nullif none.
Thumbprint
Gets or sets the certificate thumbprint.
public string Thumbprint { get; set; }
Property Value
- string
The certificate thumbprint or
nullif none.
Use
Gets or sets the certificate use.
public string Use { get; set; }
Property Value
- string
The certificate use.