Class
OfficeOpenPgpKeySet
OfficeIMO.Security
Keys supplied by the caller for one OpenPGP operation. OpenPGP providers never read a user keyring, agent, or key server on their own; only the key material in this set is used.
Inheritance
- object
- OfficeOpenPgpKeySet
Usage
Explore 3 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters 3
Constructors
public OfficeOpenPgpKeySet(IEnumerable<byte[]>? publicKeys = null, IEnumerable<byte[]>? secretKeys = null, Func<string, char[]?>? passphraseProvider = null) #Creates a key set.
Parameters
- publicKeys System.Collections.Generic.IEnumerable<byte[]>? = null
- Transferable public keys, binary or ASCII-armored. One buffer may hold several keys.
- secretKeys System.Collections.Generic.IEnumerable<byte[]>? = null
- Transferable secret keys, binary or ASCII-armored, used for decryption.
- passphraseProvider System.Func<string, char[]?>? = null
- Returns the passphrase for a secret key, identified by its 16-hex-digit key ID, or null when none is available.