AsymmetricAlgorithm.ExportSubjectPublicKeyInfo Method

Definition

Exports the public-key portion of 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 the public-key portion of this key.

Applies to

See also