Свойство | Тип | Описание | |
---|---|---|---|
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 ( |
||
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.
|
|
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 |
public AppendPrivateKeyInfo ( StringBuilder sb ) : void | ||
sb | StringBuilder | |
Результат | void |
public static FromBlob ( byte rawData, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags ) : ICertificatePal | ||
rawData | byte | |
password | SafePasswordHandle | |
keyStorageFlags | X509KeyStorageFlags | |
Результат | ICertificatePal |
public static FromFile ( string fileName, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags ) : ICertificatePal | ||
fileName | string | |
password | SafePasswordHandle | |
keyStorageFlags | X509KeyStorageFlags | |
Результат | ICertificatePal |
public static FromHandle ( |
||
handle | ||
Результат | ICertificatePal |
public static FromOtherCert ( |
||
cert | ||
Результат | ICertificatePal |
public GetNameInfo ( X509NameType nameType, bool forIssuer ) : string | ||
nameType | X509NameType | |
forIssuer | bool | |
Результат | string |