ECDiffieHellmanPublicKey.ExportSubjectPublicKeyInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.