C# Класс EU.Europa.EC.Markt.Dss.Validation.Certificate.CertificateAndContext

A certificate comes from a certain context (Trusted List, CertStore, Signature) and has somes properties
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CertificateAndContext ( ) : Org.BouncyCastle.X509

The default constructor for CertificateAndContext.

The default constructor for CertificateAndContext.

CertificateAndContext ( X509Certificate cert ) : Org.BouncyCastle.X509

Create a CertificateAndContext wrapping the provided X509Certificate The default constructor for CertificateAndContext.

Create a CertificateAndContext wrapping the provided X509Certificate The default constructor for CertificateAndContext.

CertificateAndContext ( X509Certificate cert, ISerializable context ) : Org.BouncyCastle.X509

The default constructor for CertificateAndContext.

The default constructor for CertificateAndContext.

Equals ( object obj ) : bool
GetCertificate ( ) : X509Certificate

Get the X509 Certificate

GetCertificateSource ( ) : CertificateSourceType

Get information about the source of the Certificate (TRUSTED_LIST, TRUST_STORE, ...)

GetContext ( ) : ISerializable

Get information about the context from which the certificate is fetched

GetHashCode ( ) : int
SetCertificate ( X509Certificate certificate ) : void

Set the X509 Certificate

SetCertificateSource ( CertificateSourceType certificateSource ) : void

Set information bout the source of the Certificate (TRUSTED_LIST, TRUST_STORE, ...)

SetContext ( ISerializable context ) : void

Set information about the context from which the certificate if fetched

ToString ( ) : string

Описание методов

CertificateAndContext() публичный Метод

The default constructor for CertificateAndContext.
The default constructor for CertificateAndContext.
public CertificateAndContext ( ) : Org.BouncyCastle.X509
Результат Org.BouncyCastle.X509

CertificateAndContext() публичный Метод

Create a CertificateAndContext wrapping the provided X509Certificate The default constructor for CertificateAndContext.
Create a CertificateAndContext wrapping the provided X509Certificate The default constructor for CertificateAndContext.
public CertificateAndContext ( X509Certificate cert ) : Org.BouncyCastle.X509
cert Org.BouncyCastle.X509.X509Certificate
Результат Org.BouncyCastle.X509

CertificateAndContext() публичный Метод

The default constructor for CertificateAndContext.
The default constructor for CertificateAndContext.
public CertificateAndContext ( X509Certificate cert, ISerializable context ) : Org.BouncyCastle.X509
cert Org.BouncyCastle.X509.X509Certificate
context ISerializable
Результат Org.BouncyCastle.X509

Equals() публичный Метод

public Equals ( object obj ) : bool
obj object
Результат bool

GetCertificate() публичный Метод

Get the X509 Certificate
public GetCertificate ( ) : X509Certificate
Результат Org.BouncyCastle.X509.X509Certificate

GetCertificateSource() публичный Метод

Get information about the source of the Certificate (TRUSTED_LIST, TRUST_STORE, ...)
public GetCertificateSource ( ) : CertificateSourceType
Результат CertificateSourceType

GetContext() публичный Метод

Get information about the context from which the certificate is fetched
public GetContext ( ) : ISerializable
Результат ISerializable

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

SetCertificate() публичный Метод

Set the X509 Certificate
public SetCertificate ( X509Certificate certificate ) : void
certificate Org.BouncyCastle.X509.X509Certificate
Результат void

SetCertificateSource() публичный Метод

Set information bout the source of the Certificate (TRUSTED_LIST, TRUST_STORE, ...)
public SetCertificateSource ( CertificateSourceType certificateSource ) : void
certificateSource CertificateSourceType
Результат void

SetContext() публичный Метод

Set information about the context from which the certificate if fetched
public SetContext ( ISerializable context ) : void
context ISerializable
Результат void

ToString() публичный Метод

public ToString ( ) : string
Результат string