CryptographicKey.Export 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.
Overloads
Export() |
Exports the key pair to a buffer. |
Export(CryptographicPrivateKeyBlobType) |
Exports the key pair to a buffer given a specified format. |
Export()
Exports the key pair to a buffer.
public:
virtual IBuffer ^ Export() = Export;
/// [Windows.Foundation.Metadata.Overload("ExportDefaultPrivateKeyBlobType")]
IBuffer Export();
[Windows.Foundation.Metadata.Overload("ExportDefaultPrivateKeyBlobType")]
public IBuffer Export();
function export()
Public Function Export () As IBuffer
Returns
Buffer that contains the key pair.
- Attributes
See also
Applies to
Export(CryptographicPrivateKeyBlobType)
Exports the key pair to a buffer given a specified format.
public:
virtual IBuffer ^ Export(CryptographicPrivateKeyBlobType BlobType) = Export;
/// [Windows.Foundation.Metadata.Overload("ExportPrivateKeyWithBlobType")]
IBuffer Export(CryptographicPrivateKeyBlobType const& BlobType);
[Windows.Foundation.Metadata.Overload("ExportPrivateKeyWithBlobType")]
public IBuffer Export(CryptographicPrivateKeyBlobType BlobType);
function export(BlobType)
Public Function Export (BlobType As CryptographicPrivateKeyBlobType) As IBuffer
Parameters
- BlobType
- CryptographicPrivateKeyBlobType
A CryptographicPrivateKeyBlobType enumeration value that specifies the format of the key in the buffer. The default value is Pkcs8RawPrivateKeyInfo.
Returns
Buffer that contains the key pair.
- Attributes