AsymmetricAlgorithm.ExportSubjectPublicKeyInfoPem Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Esporta la parte chiave pubblica della chiave corrente nel formato X.509 SubjectPublicKeyInfo, con codifica PEM.
public:
System::String ^ ExportSubjectPublicKeyInfoPem();
public string ExportSubjectPublicKeyInfoPem ();
member this.ExportSubjectPublicKeyInfoPem : unit -> string
Public Function ExportSubjectPublicKeyInfoPem () As String
Restituisce
Stringa contenente l'oggetto X.509 Con codifica PEMPublicKeyInfo.
Eccezioni
Implementazione per ExportSubjectPublicKeyInfo() o TryExportSubjectPublicKeyInfo(Span<Byte>, Int32) non fornita.
Non è stato possibile esportare la chiave.
Commenti
A PEM-encoded X.509 SubjectPublicKeyInfo will begin with
-----BEGIN PUBLIC KEY-----
and end with
-----END PUBLIC KEY-----
, with the base64 encoded DER
contents of the key between the PEM boundaries.
The PEM is encoded according to the IETF RFC 7468 "strict"
encoding rules.