Show / Hide Table of Contents

    Class Certificate

    Represents a serialized X.509 certificate stored in the database for reporting purposes.

    Inheritance
    Object
    DomainObjectBase
    Certificate
    Implements
    IValidator
    IExtensibleDataObject
    IEquatable<Certificate>
    Inherited Members
    DomainObjectBase.IsValidElementName(String)
    DomainObjectBase.AreEqual(Nullable<DateTime>, Nullable<DateTime>)
    DomainObjectBase.Equals(DomainObjectBase)
    DomainObjectBase.Id
    DomainObjectBase.Key
    DomainObjectBase.Created
    DomainObjectBase.Updated
    DomainObjectBase.ErrorMessage
    DomainObjectBase.ExtensionData
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Entities
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class Certificate : DomainObjectBase, IValidator, IExtensibleDataObject, IEquatable<Certificate>

    Constructors

    Certificate()

    Initializes an empty instance.

    Declaration
    public Certificate()

    Certificate(X509Certificate2)

    Initializes a new instance from the provided certificate.

    Declaration
    public Certificate(X509Certificate2 certificate)
    Parameters
    Type Name Description
    X509Certificate2 certificate

    X.509 certificate to be initialized from.

    Properties

    Data

    Gets or sets the serialized certificate.

    Declaration
    public byte[] Data { get; set; }
    Property Value
    Type Description
    Byte[]

    Description

    Gets or sets certificate description.

    Declaration
    public string Description { get; set; }
    Property Value
    Type Description
    String

    Expiration

    Gets or sets the certificate expiration date and time.

    Declaration
    public DateTime Expiration { get; set; }
    Property Value
    Type Description
    DateTime

    FriendlyName

    Gets or sets display name of the certificate.

    Declaration
    public string FriendlyName { get; set; }
    Property Value
    Type Description
    String

    IsMajorObject

    Gets the flag indicating that current object is a major entity.

    Declaration
    public override bool IsMajorObject { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    DomainObjectBase.IsMajorObject

    ObjectType

    Gets object type identifier.

    Declaration
    public override EntityType ObjectType { get; }
    Property Value
    Type Description
    EntityType
    Overrides
    DomainObjectBase.ObjectType

    Methods

    Equals(Certificate)

    Determines whether the specified object is equal to the current object.

    Declaration
    public bool Equals(Certificate other)
    Parameters
    Type Name Description
    Certificate other

    The object to compare with the current object.

    Returns
    Type Description
    Boolean

    True, if objects are equal. False, if objects 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
    Object obj

    The object to compare with the current object.

    Returns
    Type Description
    Boolean

    True, if objects are equal. False, if objects are not equal.

    Overrides
    DomainObjectBase.Equals(Object)

    GetHashCode()

    Returns the hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    Hash code of the current instance.

    Overrides
    DomainObjectBase.GetHashCode()

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    A string that represents the current object.

    Overrides
    DomainObjectBase.ToString()

    Validate()

    Evaluates the state of this object.

    Declaration
    public override bool Validate()
    Returns
    Type Description
    Boolean

    True if state is valid; otherwise, false.

    Overrides
    DomainObjectBase.Validate()

    Implements

    IValidator
    System.Runtime.Serialization.IExtensibleDataObject
    System.IEquatable<T>
    Back to top Nevatech Sentinet 6.5 Online Documentation