C# 클래스 Advtools.ADVpki.CertificatesAuthority

파일 보기 프로젝트 열기: ADVTOOLS/ADVpki 1 사용 예제들

공개 메소드들

메소드 설명
CertificatesAuthority ( string name ) : System

Construct a CertificatesAuthority object with a default name and in the store of the current user

CertificatesAuthority ( string name, System.Security.Cryptography.X509Certificates store ) : System

Construct a CertificatesAuthority object

GenerateCertificate ( string name, Usage usage, int validity ) : X509Certificate2

Generate a new certificate.

SignRequest ( string csrFile, Usage usage, int validity ) : X509Certificate2
SignRequest ( string csrFile, Usage usage, int validity, System.Security.Cryptography.X509Certificates storeName ) : X509Certificate2

비공개 메소드들

메소드 설명
AddClientCertificateExtensions ( X509V3CertificateGenerator builder ) : void
AddCodeCertificateExtensions ( X509V3CertificateGenerator builder ) : void
AddExtensions ( X509V3CertificateGenerator builder, Usage usage ) : void
AddRootAuthorityCertificateExtensions ( X509V3CertificateGenerator builder ) : void
AddServerCertificateExtensions ( X509V3CertificateGenerator builder ) : void
CreateCertificate ( Org.BouncyCastle.Asn1.X509.X509Name name, X509Certificate certificate, AsymmetricKeyParameter privateKey ) : X509Certificate2
GenerateSerial ( ) : byte[]
GetCertificate ( Org.BouncyCastle.Asn1.X509.X509Name name, Usage usage, int validity, System.Security.Cryptography.X509Certificates storeName, System.Security.Cryptography.X509Certificates issuer ) : X509Certificate2
GetFriendlyName ( Org.BouncyCastle.Asn1.X509.X509Name name ) : string
GetRootCertificate ( ) : X509Certificate2
InternalGenerateCertificate ( Org.BouncyCastle.Asn1.X509.X509Name name, Usage usage, int validity, System.Security.Cryptography.X509Certificates storeName, AsymmetricKeyParameter publicKey, AsymmetricKeyParameter privateKey, AsymmetricKeyParameter signator ) : X509Certificate2
InternalGenerateCertificate ( Org.BouncyCastle.Asn1.X509.X509Name name, Usage usage, int validity, System.Security.Cryptography.X509Certificates storeName, System.Security.Cryptography.X509Certificates issuer ) : X509Certificate2
LoadCertificate ( Org.BouncyCastle.Asn1.X509.X509Name name, System.Security.Cryptography.X509Certificates storeName, System.Security.Cryptography.X509Certificates location ) : X509Certificate2
ReadPkcs10 ( string file ) : Pkcs10CertificationRequest
StoreCertificate ( Org.BouncyCastle.Asn1.X509.X509Name name, System.Security.Cryptography.X509Certificates certificate, System.Security.Cryptography.X509Certificates storeName ) : void
X509NameFromString ( string name ) : Org.BouncyCastle.Asn1.X509.X509Name

메소드 상세

CertificatesAuthority() 공개 메소드

Construct a CertificatesAuthority object with a default name and in the store of the current user
public CertificatesAuthority ( string name ) : System
name string Name of the certification authority.
리턴 System

CertificatesAuthority() 공개 메소드

Construct a CertificatesAuthority object
public CertificatesAuthority ( string name, System.Security.Cryptography.X509Certificates store ) : System
name string Name of the certification authority.
store System.Security.Cryptography.X509Certificates Where to store the certificates
리턴 System

GenerateCertificate() 공개 메소드

Generate a new certificate.
public GenerateCertificate ( string name, Usage usage, int validity ) : X509Certificate2
name string Name (subject) of the certificate
usage Usage Usage of the certificate
validity int Validity of the certificate or 0 to use the default validity
리턴 System.Security.Cryptography.X509Certificates.X509Certificate2

SignRequest() 공개 메소드

public SignRequest ( string csrFile, Usage usage, int validity ) : X509Certificate2
csrFile string
usage Usage
validity int
리턴 System.Security.Cryptography.X509Certificates.X509Certificate2

SignRequest() 공개 메소드

public SignRequest ( string csrFile, Usage usage, int validity, System.Security.Cryptography.X509Certificates storeName ) : X509Certificate2
csrFile string
usage Usage
validity int
storeName System.Security.Cryptography.X509Certificates
리턴 System.Security.Cryptography.X509Certificates.X509Certificate2