|
| unsafe byte[] | EncodeX509KeyUsageExtension (X509KeyUsageFlags keyUsages) |
| |
| unsafe void | DecodeX509KeyUsageExtension (byte[] encoded, out X509KeyUsageFlags keyUsages) |
| |
| unsafe byte[] | EncodeX509BasicConstraints2Extension (bool certificateAuthority, bool hasPathLengthConstraint, int pathLengthConstraint) |
| |
| unsafe void | DecodeX509BasicConstraintsExtension (byte[] encoded, out bool certificateAuthority, out bool hasPathLengthConstraint, out int pathLengthConstraint) |
| |
| unsafe void | DecodeX509BasicConstraints2Extension (byte[] encoded, out bool certificateAuthority, out bool hasPathLengthConstraint, out int pathLengthConstraint) |
| |
| unsafe byte[] | EncodeX509EnhancedKeyUsageExtension (OidCollection usages) |
| |
| unsafe void | DecodeX509EnhancedKeyUsageExtension (byte[] encoded, out OidCollection usages) |
| |
| unsafe byte[] | EncodeX509SubjectKeyIdentifierExtension (ReadOnlySpan< byte > subjectKeyIdentifier) |
| |
| unsafe void | DecodeX509SubjectKeyIdentifierExtension (byte[] encoded, out byte[] subjectKeyIdentifier) |
| |
| unsafe byte[] | ComputeCapiSha1OfPublicKey (PublicKey key) |
| |
| unsafe X509ContentType | GetCertContentType (ReadOnlySpan< byte > rawData) |
| |
| unsafe X509ContentType | GetCertContentType (string fileName) |
| |
| ECDsa | DecodeECDsaPublicKey (ICertificatePal certificatePal) |
| |
| ECDiffieHellman | DecodeECDiffieHellmanPublicKey (ICertificatePal certificatePal) |
| |
| AsymmetricAlgorithm | DecodePublicKey (Oid oid, byte[] encodedKeyValue, byte[] encodedParameters, ICertificatePal certificatePal) |
| |
| unsafe string | X500DistinguishedNameDecode (byte[] encodedDistinguishedName, X500DistinguishedNameFlags flag) |
| |
| byte[] | X500DistinguishedNameEncode (string distinguishedName, X500DistinguishedNameFlags flag) |
| |
| unsafe string | X500DistinguishedNameFormat (byte[] encodedDistinguishedName, bool multiLine) |
| |
|
| static X509ContentType | MapContentType (ContentType contentType) |
| |
| static TAlgorithm | DecodeECPublicKey< TAlgorithm > (CertificatePal certificatePal, Func< CngKey, TAlgorithm > factory, Action< TAlgorithm, ECParameters > import, CryptImportPublicKeyInfoFlags importFlags=CryptImportPublicKeyInfoFlags.NONE) |
| |
| static unsafe Microsoft.Win32.SafeHandles.SafeBCryptKeyHandle | ImportPublicKeyInfo (SafeCertContextHandle certContext, CryptImportPublicKeyInfoFlags importFlags) |
| |
| static byte[] | ExportKeyBlob (Microsoft.Win32.SafeHandles.SafeBCryptKeyHandle bCryptKeyHandle, CngKeyBlobFormat blobFormat) |
| |
| static unsafe void | ExportNamedCurveParameters (ref ECParameters ecParams, byte[] ecBlob, bool includePrivateParameters) |
| |
| static byte[] | DecodeKeyBlob (CryptDecodeObjectStructType lpszStructType, byte[] encodedKeyValue) |
| |
| static byte[] | ConstructDSSPublicKeyCspBlob (byte[] encodedKeyValue, byte[] encodedParameters) |
| |
| static unsafe byte[] | DecodeDssKeyValue (byte[] encodedKeyValue) |
| |
| static unsafe void | DecodeDssParameters (byte[] encodedParameters, out byte[] p, out byte[] q, out byte[] g) |
| |
| static bool | HasExplicitParameters (Microsoft.Win32.SafeHandles.SafeBCryptKeyHandle bcryptHandle) |
| |
| static string | GetCurveName (Microsoft.Win32.SafeHandles.SafeBCryptKeyHandle bcryptHandle) |
| |
| static unsafe string | GetPropertyAsString (Microsoft.Win32.SafeHandles.SafeBCryptKeyHandle cryptHandle, string propertyName) |
| |
| static unsafe byte[] | GetProperty (Microsoft.Win32.SafeHandles.SafeBCryptKeyHandle cryptHandle, string propertyName) |
| |
| static CertNameStrTypeAndFlags | MapNameToStrFlag (X500DistinguishedNameFlags flag) |
| |
Definition at line 12 of file X509Pal.cs.