C# Класс Internal.Cryptography.Pal.X509Pal

A singleton class that encapsulates the native implementation of various X509 services. (Implementing this as a singleton makes it easier to split the class into abstract and implementation classes if desired.)
Наследование: IX509Pal
Показать файл Открыть проект

Открытые методы

Метод Описание
DecodePublicKey ( Oid oid, byte encodedKeyValue, byte encodedParameters, ICertificatePal certificatePal ) : AsymmetricAlgorithm

Приватные методы

Метод Описание
ConstructDSSPublicKeyCspBlob ( byte encodedKeyValue, byte encodedParameters ) : byte[]
DecodeDssKeyValue ( byte encodedKeyValue ) : byte[]
DecodeDssParameters ( byte encodedParameters, byte &p, byte &q, byte &g ) : void
DecodeECDsaPublicKey ( CertificatePal certificatePal ) : ECDsa
DecodeKeyBlob ( CryptDecodeObjectStructType lpszStructType, byte encodedKeyValue ) : byte[]
ExportKeyBlob ( Microsoft.Win32.SafeHandles.SafeBCryptKeyHandle bCryptKeyHandle, CngKeyBlobFormat blobFormat ) : byte[]
ExportNamedCurveParameters ( ECParameters &ecParams, byte ecBlob, bool includePrivateParameters ) : void
GetCurveName ( Microsoft.Win32.SafeHandles.SafeBCryptKeyHandle bcryptHandle ) : string
GetProperty ( Microsoft.Win32.SafeHandles.SafeBCryptKeyHandle cryptHandle, string propertyName ) : byte[]
GetPropertyAsString ( Microsoft.Win32.SafeHandles.SafeBCryptKeyHandle cryptHandle, string propertyName ) : string
HasExplicitParameters ( Microsoft.Win32.SafeHandles.SafeBCryptKeyHandle bcryptHandle ) : bool
ImportPublicKeyInfo ( SafeCertContextHandle certContext ) : Microsoft.Win32.SafeHandles.SafeBCryptKeyHandle

Описание методов

DecodePublicKey() публичный Метод

public DecodePublicKey ( Oid oid, byte encodedKeyValue, byte encodedParameters, ICertificatePal certificatePal ) : AsymmetricAlgorithm
oid Oid
encodedKeyValue byte
encodedParameters byte
certificatePal ICertificatePal
Результат AsymmetricAlgorithm