Pkcs9LocalKeyId Class  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the LocalKeyId attribute from PKCS#9.
public ref class Pkcs9LocalKeyId sealed : System::Security::Cryptography::Pkcs::Pkcs9AttributeObjectpublic sealed class Pkcs9LocalKeyId : System.Security.Cryptography.Pkcs.Pkcs9AttributeObjecttype Pkcs9LocalKeyId = class
    inherit Pkcs9AttributeObjectPublic NotInheritable Class Pkcs9LocalKeyId
Inherits Pkcs9AttributeObject- Inheritance
Remarks
The primary use of the LocalKeyId attribute is to associate an X.509 Public Key Certificate and its matching asymmetric private key in a PKCS#12 PFX file.
Constructors
| Pkcs9LocalKeyId() | Initializes a new instance of the Pkcs9LocalKeyId class with an empty key identifier value. | 
| Pkcs9LocalKeyId(Byte[]) | Initializes a new instance of the Pkcs9LocalKeyId class with a key identifier specified by a byte array. | 
| Pkcs9LocalKeyId(ReadOnlySpan<Byte>) | Initializes a new instance of the Pkcs9LocalKeyId class with a key identifier specified by a byte span. | 
Properties
| KeyId | Gets a memory value containing the key identifier from this attribute. | 
| Oid | Gets an Oid object that represents the type of attribute associated with this Pkcs9AttributeObject object.(Inherited from Pkcs9AttributeObject) | 
Methods
| CopyFrom(AsnEncodedData) | Copies information from a AsnEncodedData object. | 
| CopyFrom(AsnEncodedData) | Copies a PKCS #9 attribute type and value for this Pkcs9AttributeObject from the specified AsnEncodedData object.(Inherited from Pkcs9AttributeObject) |