C# 클래스 Goedel.Cryptography.PKIX.Certificate

Certificate
상속: Goedel.ASN1.Root
파일 보기 프로젝트 열기: hallambaker/Mathematical-Mesh 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Signature byte[]
SignatureAlgorithm Goedel.Cryptography.PKIX.AlgorithmIdentifier
TBSCertificate Goedel.Cryptography.PKIX.TBSCertificate

공개 메소드들

메소드 설명
Certificate ( CryptoProvider SubjectKey, Application Application ) : System

Create a certificate with the specified subject Key. Note that the template is must be completed with calls to set validity etc. before use.

Certificate ( KeyPair SubjectKey, Application Application ) : System

Create a certificate with the specified subject Key. Note that the template is must be completed with calls to set validity etc. before use.

Certificate ( KeyPair SubjectKey, Application Application, Certificate SigningCertificate ) : System

Create an anonymous certificate with the specified key uses, subject Key and sign with the specified key.

Default lifespan is 20 years.

Certificate ( KeyPair SubjectKey, Application Application, string Subject, string SubjectAltName ) : System

Create a certificate with the specified subject Key. Note that the template is must be completed with calls to set validity etc. before use.

Certificate ( byte Data ) : System

Create a certificate from binary data.

Encode ( Goedel Buffer ) : void

Encode ASN.1 class members to specified buffer. NB Assinine ASN.1 DER encoding rules requires members be added in reverse order.

Sign ( ) : void

Self-sign certificate. The issuer name and key identifier are taken from the TBS certificate.

Sign ( Certificate SigningCertificate ) : void

Sign certificate. The issuer name and key identifier are taken from the signing certificate.

Sign ( CryptoProviderSignature Signer ) : void

Sign certificate.

메소드 상세

Certificate() 공개 메소드

Create a certificate with the specified subject Key. Note that the template is must be completed with calls to set validity etc. before use.
public Certificate ( CryptoProvider SubjectKey, Application Application ) : System
SubjectKey CryptoProvider Cryptographic provider for the subject key.
Application Application Certificate application(s).
리턴 System

Certificate() 공개 메소드

Create a certificate with the specified subject Key. Note that the template is must be completed with calls to set validity etc. before use.
public Certificate ( KeyPair SubjectKey, Application Application ) : System
SubjectKey KeyPair Cryptographic provider for the subject key.
Application Application Certificate application(s).
리턴 System

Certificate() 공개 메소드

Create an anonymous certificate with the specified key uses, subject Key and sign with the specified key.

Default lifespan is 20 years.

public Certificate ( KeyPair SubjectKey, Application Application, Certificate SigningCertificate ) : System
SubjectKey KeyPair Cryptographic provider for the subject key.
Application Application Certificate application(s).
SigningCertificate Certificate Certificate of signer.
리턴 System

Certificate() 공개 메소드

Create a certificate with the specified subject Key. Note that the template is must be completed with calls to set validity etc. before use.
public Certificate ( KeyPair SubjectKey, Application Application, string Subject, string SubjectAltName ) : System
SubjectKey KeyPair Cryptographic provider for the subject key.
Application Application Certificate application(s).
Subject string Subject name.
SubjectAltName string The certificate subject altname
리턴 System

Certificate() 공개 메소드

Create a certificate from binary data.
public Certificate ( byte Data ) : System
Data byte Binary certificate data
리턴 System

Encode() 공개 메소드

Encode ASN.1 class members to specified buffer. NB Assinine ASN.1 DER encoding rules requires members be added in reverse order.
public Encode ( Goedel Buffer ) : void
Buffer Goedel Output buffer
리턴 void

Sign() 공개 메소드

Self-sign certificate. The issuer name and key identifier are taken from the TBS certificate.
public Sign ( ) : void
리턴 void

Sign() 공개 메소드

Sign certificate. The issuer name and key identifier are taken from the signing certificate.
public Sign ( Certificate SigningCertificate ) : void
SigningCertificate Certificate Certificate of signer.
리턴 void

Sign() 공개 메소드

Sign certificate.
public Sign ( CryptoProviderSignature Signer ) : void
Signer CryptoProviderSignature Cryptographic provider for the signer.
리턴 void

프로퍼티 상세

Signature 공개적으로 프로퍼티

ASN.1 member Signature
public byte[] Signature
리턴 byte[]

SignatureAlgorithm 공개적으로 프로퍼티

ASN.1 member SignatureAlgorithm
public Goedel.Cryptography.PKIX.AlgorithmIdentifier SignatureAlgorithm
리턴 Goedel.Cryptography.PKIX.AlgorithmIdentifier

TBSCertificate 공개적으로 프로퍼티

ASN.1 member TBSCertificate
public Goedel.Cryptography.PKIX.TBSCertificate TBSCertificate
리턴 Goedel.Cryptography.PKIX.TBSCertificate