<PackageReference Include="System.Security.Cryptography.Pkcs" Version="11.0.0-preview.2.26159.112" />

System.Security.Cryptography.Pkcs.Pkcs9LocalKeyId

public sealed class Pkcs9LocalKeyId : Pkcs9AttributeObject
Represents the LocalKeyId attribute from PKCS#9.
public ReadOnlyMemory<byte> KeyId { get; }

Gets a memory value containing the key identifier from this attribute.

public Pkcs9LocalKeyId()

Initializes a new instance of the Pkcs9LocalKeyId class with an empty key identifier value.

public Pkcs9LocalKeyId(byte[] keyId)

Initializes a new instance of the Pkcs9LocalKeyId class with a key identifier specified by a byte array.

public Pkcs9LocalKeyId(ReadOnlySpan<byte> keyId)

Initializes a new instance of the Pkcs9LocalKeyId class with a key identifier specified by a byte span.