| GnuPGContextGetPublicKeyRing Method |
Get the public keyring that contains the specified key.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax protected override PgpPublicKeyRing GetPublicKeyRing(
long keyId,
CancellationToken cancellationToken
)
Parameters
- keyId Int64
- The public key identifier.
- cancellationToken CancellationToken
- The cancellation token.
Return Value
PgpPublicKeyRingThe public keyring that contains the specified key or
null if the keyring could not be found.
Exceptions Remarks Gets the public keyring that contains the specified key.
See Also