메소드 | 설명 | |
---|---|---|
TrustManager ( [ config, [ openPgp, [ trustDB, [ feedCache, [ handler ) : System |
Creates a new trust manager.
|
메소드 | 설명 | |
---|---|---|
AcquireMissingKey ( [ signature, [ uri, [ localPath = null ) : void |
Acquires the OpenPGP key file required to verify the given signature.
|
|
AskKeyApproval ( [ uri, [ fingerprint, Domain domain ) : bool |
Asks the user whether they trust a given key for a specific domain. May automatically accept based on policy.
|
|
CheckTrust ( byte data, FeedUri uri, string localPath = null ) : |
||
DownloadKey ( [ keyUri ) : void |
Downloads and imports a remote key file.
|
|
GetKeyInformation ( [ fingerprint, bool &goodVote ) : string | ||
GetMirrorUrl ( [ signature ) : |
||
HandleNewKey ( [ uri, [ fingerprint, Domain domain ) : bool |
Handles new keys that have not been trusted yet.
|
public TrustManager ( [ config, [ openPgp, [ trustDB, [ feedCache, [ handler ) : System | ||
config | [ | User settings controlling network behaviour, solving, etc. |
openPgp | [ | The OpenPGP-compatible system used to validate the signatures. |
trustDB | [ | A database of OpenPGP signature fingerprints the users trusts to sign |
feedCache | [ | Provides access to a cache of |
handler | [ | A callback object used when the the user needs to be asked questions. |
리턴 | System |