C# Class EU.Europa.EC.Markt.Dss.Validation.Certificate.CertificateAndContext

A certificate comes from a certain context (Trusted List, CertStore, Signature) and has somes properties
Mostra file Open project: nonorganic/dssnet Class Usage Examples

Public Methods

Method Description
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

Method Details

CertificateAndContext() public method

The default constructor for CertificateAndContext.
The default constructor for CertificateAndContext.
public CertificateAndContext ( ) : Org.BouncyCastle.X509
return Org.BouncyCastle.X509

CertificateAndContext() public method

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
return Org.BouncyCastle.X509

CertificateAndContext() public method

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
return Org.BouncyCastle.X509

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetCertificate() public method

Get the X509 Certificate
public GetCertificate ( ) : X509Certificate
return Org.BouncyCastle.X509.X509Certificate

GetCertificateSource() public method

Get information about the source of the Certificate (TRUSTED_LIST, TRUST_STORE, ...)
public GetCertificateSource ( ) : CertificateSourceType
return CertificateSourceType

GetContext() public method

Get information about the context from which the certificate is fetched
public GetContext ( ) : ISerializable
return ISerializable

GetHashCode() public method

public GetHashCode ( ) : int
return int

SetCertificate() public method

Set the X509 Certificate
public SetCertificate ( X509Certificate certificate ) : void
certificate Org.BouncyCastle.X509.X509Certificate
return void

SetCertificateSource() public method

Set information bout the source of the Certificate (TRUSTED_LIST, TRUST_STORE, ...)
public SetCertificateSource ( CertificateSourceType certificateSource ) : void
certificateSource CertificateSourceType
return void

SetContext() public method

Set information about the context from which the certificate if fetched
public SetContext ( ISerializable context ) : void
context ISerializable
return void

ToString() public method

public ToString ( ) : string
return string