| OpenPgpContextExportAsync(IEnumerablePgpPublicKey, CancellationToken) Method |
Asynchronously export the specified public keys.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax public Task<MimePart> ExportAsync(
IEnumerable<PgpPublicKey> keys,
CancellationToken cancellationToken = default
)
Parameters
- keys IEnumerablePgpPublicKey
- The public keys to export.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
TaskMimePartA new
MimePart instance containing the exported public keys.
Exceptions Remarks
Asynchronously exports the specified public keys.
See Also