Pkcs9LocalKeyId Classe

Definição

Representa o atributo LocalKeyId do PKCS nº 9.Represents the LocalKeyId attribute from PKCS#9.

public ref class Pkcs9LocalKeyId sealed : System::Security::Cryptography::Pkcs::Pkcs9AttributeObject
public sealed class Pkcs9LocalKeyId : System.Security.Cryptography.Pkcs.Pkcs9AttributeObject
type Pkcs9LocalKeyId = class
    inherit Pkcs9AttributeObject
Public NotInheritable Class Pkcs9LocalKeyId
Inherits Pkcs9AttributeObject
Herança

Comentários

O uso principal do atributo LocalKeyId é associar um certificado de chave pública X. 509 e sua chave privada assimétrica correspondente em um arquivo PFX n º 12.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.

Construtores

Pkcs9LocalKeyId()

Inicializa uma nova instância da classe Pkcs9LocalKeyId com um valor do identificador de chave vazio.Initializes a new instance of the Pkcs9LocalKeyId class with an empty key identifier value.

Pkcs9LocalKeyId(Byte[])

Inicializa uma nova instância da classe Pkcs9LocalKeyId com um identificador de chave especificado por uma matriz de bytes.Initializes a new instance of the Pkcs9LocalKeyId class with a key identifier specified by a byte array.

Pkcs9LocalKeyId(ReadOnlySpan<Byte>)

Inicializa uma nova instância da classe Pkcs9LocalKeyId com um identificador de chave especificado por um intervalo de bytes.Initializes a new instance of the Pkcs9LocalKeyId class with a key identifier specified by a byte span.

Propriedades

KeyId

Obtém um valor de memória que contém o identificador de chave deste atributo.Gets a memory value containing the key identifier from this attribute.

Oid

Obtém um objeto Oid que representa o tipo de atributo associado a este objeto Pkcs9AttributeObject.Gets an Oid object that represents the type of attribute associated with this Pkcs9AttributeObject object.

(Herdado de Pkcs9AttributeObject)
RawData

Obtém ou define os dados codificados em ASN.1 (Abstract Syntax Notation One) representados em uma matriz de bytes.Gets or sets the Abstract Syntax Notation One (ASN.1)-encoded data represented in a byte array.

(Herdado de AsnEncodedData)

Métodos

CopyFrom(AsnEncodedData)

Copia um tipo de atributo PKCS nº 9 e o valor para este Pkcs9AttributeObject do objeto AsnEncodedData especificado.Copies a PKCS #9 attribute type and value for this Pkcs9AttributeObject from the specified AsnEncodedData object.

(Herdado de Pkcs9AttributeObject)
Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object.

(Herdado de Object)
Format(Boolean)

Retorna uma versão formatada dos dados codificados em ASN.1 (Abstract Syntax Notation One) como uma cadeia de caracteres.Returns a formatted version of the Abstract Syntax Notation One (ASN.1)-encoded data as a string.

(Herdado de AsnEncodedData)
GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)

Aplica-se a