C# 클래스 Internal.Cryptography.Pal.CertificatePal

상속: IDisposable, ICertificatePal
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CertificatePal System
FilterPFXStore SafeCertContextHandle
FromBio ICertificatePal
FromBlobOrFile ICertificatePal
GetIssuerOrSubject string
GetSignerInPKCS7Store SafeCertContextHandle
MapKeyStorageFlags PfxCertStoreFlags
MapNameType CertNameType
PropagateKeyAlgorithmParametersFromChain byte[]
RewindBio void
TryReadX509Der bool
TryReadX509Der bool
TryReadX509Pem bool
TryReadX509Pem bool

공개 메소드들

메소드 설명
AppendPrivateKeyInfo ( StringBuilder sb ) : void
Dispose ( ) : void
FromBlob ( byte rawData, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags ) : ICertificatePal
FromFile ( string fileName, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags ) : ICertificatePal
FromHandle ( IntPtr handle ) : ICertificatePal
FromOtherCert ( X509Certificate cert ) : ICertificatePal

Returns the SafeCertContextHandle. Use this instead of FromHandle property when creating another X509Certificate object based on this one to ensure the underlying cert context is not released at the wrong time.

GetNameInfo ( X509NameType nameType, bool forIssuer ) : string

비공개 메소드들

메소드 설명
CertificatePal ( SafeCertContextHandle certContext, bool deleteKeyContainer ) : System
FilterPFXStore ( byte rawData, SafePasswordHandle password, PfxCertStoreFlags pfxCertStoreFlags ) : SafeCertContextHandle
FromBio ( SafeBioHandle bio, SafePasswordHandle password ) : ICertificatePal
FromBlobOrFile ( byte rawData, string fileName, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags ) : ICertificatePal
GetIssuerOrSubject ( bool issuer ) : string
GetSignerInPKCS7Store ( SafeCertStoreHandle hCertStore, System.Security.Cryptography.SafeCryptMsgHandle hCryptMsg ) : SafeCertContextHandle
MapKeyStorageFlags ( X509KeyStorageFlags keyStorageFlags ) : PfxCertStoreFlags
MapNameType ( X509NameType nameType ) : CertNameType
PropagateKeyAlgorithmParametersFromChain ( ) : byte[]
RewindBio ( SafeBioHandle bio, int bioPosition ) : void
TryReadX509Der ( SafeBioHandle bio, ICertificatePal &fromBio ) : bool
TryReadX509Der ( byte rawData, ICertificatePal &certPal ) : bool
TryReadX509Pem ( SafeBioHandle bio, ICertificatePal &certPal ) : bool
TryReadX509Pem ( byte rawData, ICertificatePal &certPal ) : bool

메소드 상세

AppendPrivateKeyInfo() 공개 메소드

public AppendPrivateKeyInfo ( StringBuilder sb ) : void
sb StringBuilder
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

FromBlob() 공개 정적인 메소드

public static FromBlob ( byte rawData, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags ) : ICertificatePal
rawData byte
password SafePasswordHandle
keyStorageFlags X509KeyStorageFlags
리턴 ICertificatePal

FromFile() 공개 정적인 메소드

public static FromFile ( string fileName, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags ) : ICertificatePal
fileName string
password SafePasswordHandle
keyStorageFlags X509KeyStorageFlags
리턴 ICertificatePal

FromHandle() 공개 정적인 메소드

public static FromHandle ( IntPtr handle ) : ICertificatePal
handle System.IntPtr
리턴 ICertificatePal

FromOtherCert() 공개 정적인 메소드

Returns the SafeCertContextHandle. Use this instead of FromHandle property when creating another X509Certificate object based on this one to ensure the underlying cert context is not released at the wrong time.
public static FromOtherCert ( X509Certificate cert ) : ICertificatePal
cert System.Security.Cryptography.X509Certificates.X509Certificate
리턴 ICertificatePal

GetNameInfo() 공개 메소드

public GetNameInfo ( X509NameType nameType, bool forIssuer ) : string
nameType X509NameType
forIssuer bool
리턴 string