Επεξεργασία

Κοινή χρήση μέσω


ECDiffieHellmanPublicKey.ExportSubjectPublicKeyInfo Method

Definition

Exports the current key in the X.509 SubjectPublicKeyInfo format.

public:
 virtual cli::array <System::Byte> ^ ExportSubjectPublicKeyInfo();
public virtual byte[] ExportSubjectPublicKeyInfo ();
abstract member ExportSubjectPublicKeyInfo : unit -> byte[]
override this.ExportSubjectPublicKeyInfo : unit -> byte[]
Public Overridable Function ExportSubjectPublicKeyInfo () As Byte()

Returns

Byte[]

A byte array containing the X.509 SubjectPublicKeyInfo representation of this key.

Exceptions

The member ExportParameters() has not been overridden in a derived class.

The object has already been disposed.

The key is invalid and could not be exported.

Applies to