Class Issuer
Represents a trusted security token issuer.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Entities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class Issuer : DomainObjectBase, IValidator, IExtensibleDataObject, IEquatable<Issuer>
Constructors
Issuer()
Declaration
public Issuer()
Properties
Certificate
Gets or sets the issuer signing X.509 certificate.
Declaration
public byte[] Certificate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Byte[] |
CertificateInfo
Gets X.509 certificate info for the stored certificate.
Declaration
public CertificateInfo CertificateInfo { get; }
Property Value
| Type | Description |
|---|---|
| CertificateInfo |
FriendlyName
Gets or sets the friendly display name of the issuer.
Declaration
public string FriendlyName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
IsLocal
Gets flag indicating that issuer is locally assigned to the node. If false then issuer is globally assigned to all nodes in repository.
Declaration
public bool IsLocal { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
IsMajorObject
Gets the flag indicating that current object is a major entity.
Declaration
public override bool IsMajorObject { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Overrides
IssuerName
Gets or sets the issuer name as it is going to be presented in authenticated claims.
Declaration
public string IssuerName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
NodeId
Gets or sets the identifier of the node where issuer is trusted. If not set then issuer is trusted on all nodes connected to repository.
Declaration
public int? NodeId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
ObjectType
Gets object type identifier.
Declaration
public override EntityType ObjectType { get; }
Property Value
| Type | Description |
|---|---|
| EntityType |
Overrides
Thumbprint
Gets or sets the issuer signing X.509 certificate thumbprint.
Declaration
public string Thumbprint { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
Compress()
Clears unnecessary to runtime data to reduce message payload.
Declaration
public void Compress()
Equals(Issuer)
Determines whether the specified issuer is equal to the current issuer.
Declaration
public bool Equals(Issuer other)
Parameters
| Type | Name | Description |
|---|---|---|
| Issuer | other | The issuer to compare with the current issuer. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True, if issuers are equal. False, if issuers are not equal. |
Equals(Object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | obj | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True, if objects are equal. False, if objects are not equal. |
Overrides
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| System.Int32 | Hash code of the current instance. |
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String | A string that represents the current object. |
Overrides
Validate()
Evaluates the state of this object.
Declaration
public override bool Validate()
Returns
| Type | Description |
|---|---|
| System.Boolean | True if state is valid; otherwise, false. |