<PackageReference Include="System.Security.Cryptography.Pkcs" Version="10.0.12" />

Internal.Cryptography.PkcsHelpers

static class PkcsHelpers
public static Oid CopyOid(this Oid oid)

public static byte[] DecodeOctetString(ReadOnlyMemory<byte> encodedOctets)

public static ReadOnlyMemory<byte> DecodeOctetStringAsMemory(ReadOnlyMemory<byte> encodedOctetString)

public static string DecodeOid(ReadOnlySpan<byte> encodedOid)

public static DateTime DecodeUtcTime(byte[] encodedUtcTime)

public static byte[] EncodeOctetString(byte[] octets)

public static byte[] EncodeUtcTime(DateTime utcTime)

public static void EnsureSingleBerValue(ReadOnlySpan<byte> source)

public static int FirstBerValueLength(ReadOnlySpan<byte> source)

public static X509Certificate2Collection GetStoreCertificates(StoreName storeName, StoreLocation storeLocation, bool openExistingOnly)

public static AttributeAsn[] NormalizeAttributeSet(AttributeAsn[] setItems)

public static AttributeAsn[] NormalizeAttributeSet(AttributeAsn[] setItems, out byte encodedValue)

public static string OctetStringToUnicode(this byte[] octets)

public static void RemoveAt<T>(ref T arr, int idx)

public static byte[] Resize(this byte[] a, int size)

public static string ToBigEndianHex(this ReadOnlySpan<byte> bytes)

public static string ToSerialString(this byte[] serialBytes)

public static string ToSkiString(this byte[] skiBytes)

public static bool TryGetRsaOaepEncryptionPadding(ReadOnlyMemory<byte>? parameters, out RSAEncryptionPadding rsaEncryptionPadding, out Exception exception)

public static byte[] UnicodeToOctetString(this string s)