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

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

Private Properties

프로퍼티 타입 설명
FromBlobOrFile StorePal
MapKeyStorageFlags PfxCertStoreFlags
MapX509StoreFlags CertStoreFlags
SaveToMemoryStore byte[]
StorePal System

공개 메소드들

메소드 설명
Add ( ICertificatePal certificate ) : void
CloneTo ( X509Certificate2Collection collection ) : void
CopyTo ( X509Certificate2Collection collection ) : void
Dispose ( ) : void
Export ( X509ContentType contentType, SafePasswordHandle password ) : byte[]
FromBlob ( byte rawData, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags ) : ILoaderPal
FromCertificate ( ICertificatePal cert ) : IExportPal
FromFile ( string fileName, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags ) : ILoaderPal
FromHandle ( IntPtr storeHandle ) : IStorePal
FromSystemStore ( string storeName, StoreLocation storeLocation, OpenFlags openFlags ) : IStorePal
LinkFromCertificateCollection ( X509Certificate2Collection certificates ) : IExportPal

Note: this factory method creates the store using links to the original certificates rather than copies. This means that any changes to certificate properties in the store changes the original.

MoveTo ( X509Certificate2Collection collection ) : void
Remove ( ICertificatePal certificate ) : void

비공개 메소드들

메소드 설명
FromBlobOrFile ( byte rawData, string fileName, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags ) : StorePal
MapKeyStorageFlags ( X509KeyStorageFlags keyStorageFlags ) : PfxCertStoreFlags
MapX509StoreFlags ( StoreLocation storeLocation, OpenFlags flags ) : CertStoreFlags
SaveToMemoryStore ( CertStoreSaveAs dwSaveAs ) : byte[]
StorePal ( SafeCertStoreHandle certStore ) : System

메소드 상세

Add() 공개 메소드

public Add ( ICertificatePal certificate ) : void
certificate ICertificatePal
리턴 void

CloneTo() 공개 메소드

public CloneTo ( X509Certificate2Collection collection ) : void
collection System.Security.Cryptography.X509Certificates.X509Certificate2Collection
리턴 void

CopyTo() 공개 메소드

public CopyTo ( X509Certificate2Collection collection ) : void
collection System.Security.Cryptography.X509Certificates.X509Certificate2Collection
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Export() 공개 메소드

public Export ( X509ContentType contentType, SafePasswordHandle password ) : byte[]
contentType X509ContentType
password Microsoft.Win32.SafeHandles.SafePasswordHandle
리턴 byte[]

FromBlob() 공개 정적인 메소드

public static FromBlob ( byte rawData, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags ) : ILoaderPal
rawData byte
password Microsoft.Win32.SafeHandles.SafePasswordHandle
keyStorageFlags X509KeyStorageFlags
리턴 ILoaderPal

FromCertificate() 공개 정적인 메소드

public static FromCertificate ( ICertificatePal cert ) : IExportPal
cert ICertificatePal
리턴 IExportPal

FromFile() 공개 정적인 메소드

public static FromFile ( string fileName, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags ) : ILoaderPal
fileName string
password Microsoft.Win32.SafeHandles.SafePasswordHandle
keyStorageFlags X509KeyStorageFlags
리턴 ILoaderPal

FromHandle() 공개 정적인 메소드

public static FromHandle ( IntPtr storeHandle ) : IStorePal
storeHandle System.IntPtr
리턴 IStorePal

FromSystemStore() 공개 정적인 메소드

public static FromSystemStore ( string storeName, StoreLocation storeLocation, OpenFlags openFlags ) : IStorePal
storeName string
storeLocation StoreLocation
openFlags OpenFlags
리턴 IStorePal

LinkFromCertificateCollection() 공개 정적인 메소드

Note: this factory method creates the store using links to the original certificates rather than copies. This means that any changes to certificate properties in the store changes the original.
public static LinkFromCertificateCollection ( X509Certificate2Collection certificates ) : IExportPal
certificates System.Security.Cryptography.X509Certificates.X509Certificate2Collection
리턴 IExportPal

MoveTo() 공개 메소드

public MoveTo ( X509Certificate2Collection collection ) : void
collection System.Security.Cryptography.X509Certificates.X509Certificate2Collection
리턴 void

Remove() 공개 메소드

public Remove ( ICertificatePal certificate ) : void
certificate ICertificatePal
리턴 void