AsymmetricAlgorithm.ExportSubjectPublicKeyInfo 方法

定义

以 X.509 SubjectPublicKeyInfo 格式导出当前密钥的公钥部分。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()

返回

Byte[]

包含此密钥的公钥部分的 X.509 SubjectPublicKeyInfo 表示形式的字节数组。A byte array containing the X.509 SubjectPublicKeyInfo representation of the public-key portion of this key.

适用于

另请参阅