Class Certificate
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
An object representing a X509Certificate2 used to check if a message came from the correct external source.
public class Certificate : Entity, IEntity, IComparable, IIdentifiable
- Inheritance
-
Certificate
- Implements
- Inherited Members
Constructors
Certificate(Id?, string?, X509Certificate2?, Uri?, Uri?, bool)
Initializes a new instance of the Certificate class.
public Certificate(Id? id, string? issuer, X509Certificate2? key, Uri? logOffUrl, Uri? logInUrl, bool isRoot = false)
Parameters
id
IdThe identifier.
issuer
stringThe issuer of the Certificate.
key
X509Certificate2The public key of the Certificate.
logOffUrl
UriThe System.Uri to go to when a User with this Certificate logs off.
logInUrl
UriThe System.Uri to go to when a User with this Certificate logs in.
isRoot
boolBoolean indicating if it is client root certificate that is used to validate client certificate.
Properties
IsRoot
Gets or sets a value indicating whether certificate is a root certificate that is used for validating all client certificate.
public bool IsRoot { get; set; }
Property Value
- bool
System.Uri
Issuer
Gets or sets the issuer of the Certificate.
public string? Issuer { get; set; }
Property Value
Key
Gets or sets the public key of the Certificate.
public X509Certificate2? Key { get; set; }
Property Value
LogInUrl
Gets or sets the System.Uri to go to when a User with this Certificate logs in.
public Uri? LogInUrl { get; set; }
Property Value
- Uri
System.Uri
LogOffUrl
Gets or sets the System.Uri to go to when a User with this Certificate logs off.
public Uri? LogOffUrl { get; set; }
Property Value
- Uri
System.Uri
Methods
Clone()
Creates a new object that is a copy of the current instance.
public override IEntity Clone()
Returns
- IEntity
A new object that is a copy of this instance.