Pkcs12CertBag Classe
Definição
Representa o CertBag do PKCS nº 12.Represents the PKCS#12 CertBag. Essa classe não pode ser herdada.This class cannot be inherited.
public ref class Pkcs12CertBag sealed : System::Security::Cryptography::Pkcs::Pkcs12SafeBag
public sealed class Pkcs12CertBag : System.Security.Cryptography.Pkcs.Pkcs12SafeBag
type Pkcs12CertBag = class
inherit Pkcs12SafeBag
Public NotInheritable Class Pkcs12CertBag
Inherits Pkcs12SafeBag
- Herança
Construtores
| Pkcs12CertBag(Oid, ReadOnlyMemory<Byte>) |
Inicializa uma nova instância da classe Pkcs12CertBag, usando o tipo de certificado e a codificação especificados.Initializes a new instance of the Pkcs12CertBag class using the specified certificate type and encoding. |
Propriedades
| Attributes |
Obtém a coleção modificável de atributos a serem codificados com o valor do SafeBag.Gets the modifiable collection of attributes to encode with the SafeBag value. (Herdado de Pkcs12SafeBag) |
| EncodedBagValue |
Obtém a codificação ASN.1 BER do conteúdo deste SafeBag.Gets the ASN.1 BER encoding of the contents of this SafeBag. (Herdado de Pkcs12SafeBag) |
| EncodedCertificate |
Obtém o conteúdo do certificado não interpretado do CertSafeBag.Gets the uninterpreted certificate contents of the CertSafeBag. |
| IsX509Certificate |
Obtém um valor que indica se o tipo de conteúdo do valor do certificado codificado é o tipo de conteúdo de certificado de chave pública X.509.Gets a value indicating whether the content type of the encoded certificate value is the X.509 public key certificate content type. |
Métodos
| Encode() |
Codifica o valor do SafeBag e o retorna como uma matriz de bytes.Encodes the SafeBag value and returns it as a byte array. (Herdado de Pkcs12SafeBag) |
| 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) |
| GetBagId() |
Obtém o OID (identificador de objetos) que identifica o tipo de conteúdo deste SafeBag.Gets the Object Identifier (OID) identifying the content type of this SafeBag. (Herdado de Pkcs12SafeBag) |
| GetCertificate() |
Obtém o conteúdo do CertBag interpretado como um certificado de chave pública X.509.Gets the contents of the CertBag interpreted as an X.509 public key certificate. |
| GetCertificateType() |
Obtém o OID (identificador de objeto) que identifica o tipo de conteúdo do valor do certificado codificado.Gets the Object Identifier (OID) which identifies the content type of the encoded certificte value. |
| 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) |
| TryEncode(Span<Byte>, Int32) |
Tentativa de codificar o valor do SafeBag em um buffer fornecido.Attempts to encode the SafeBag value into a provided buffer. (Herdado de Pkcs12SafeBag) |