AsymmetricAlgorithm.ImportFromPem(ReadOnlySpan<Char>) Método
Definição
Quando substituído em uma classe derivada, importa uma chave codificada textualmente conforme RFC 7468, substituindo as chaves do objeto.When overridden in a derived class, imports an RFC 7468 textually encoded key, replacing the keys for this object.
public:
virtual void ImportFromPem(ReadOnlySpan<char> input);
public virtual void ImportFromPem (ReadOnlySpan<char> input);
abstract member ImportFromPem : ReadOnlySpan<char> -> unit
override this.ImportFromPem : ReadOnlySpan<char> -> unit
Public Overridable Sub ImportFromPem (input As ReadOnlySpan(Of Char))
Parâmetros
- input
- ReadOnlySpan<Char>
Texto da chave PEM a ser importada.The text of the PEM key to import.
Exceções
Um tipo derivado não substituiu esse membro.A derived type has not overridden this member.
Comentários
Como cada algoritmo pode ter rótulos PEM específicos do algoritmo, o comportamento padrão será gerado NotImplementedException .Because each algorithm may have algorithm-specific PEM labels, the default behavior will throw NotImplementedException.