Pkcs9LocalKeyId.KeyId Property

Definition

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

C#
public ReadOnlyMemory<byte> KeyId { get; }

Property Value

A memory value containing the key identifier from this attribute.

Remarks

Local key identifiers have no inherent semantic meaning to a PKCS#12 PFX. A private key is considered to be associated with the a certificate if both values have a LocalKeyId attribute and the attributes' KeyId values are equal on a byte-by-byte basis.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.1 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10