ExportPkcs8PrivateKey Method ExportPkcs8PrivateKey() Exports the RSA private key in PKCS#8 DER encoded format. C# public override byte[] ExportPkcs8PrivateKey() Returns byte[] A byte array containing the DER encoded private key. Overrides PrivateKey.ExportPkcs8PrivateKey()