C# Класс ZeroInstall.Store.Trust.OpenPgpUtils

Helper methods for IKeyIDContainer and IFingerprintContainer.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DeployPublicKey ( [ openPgp, [ keyID, [ path ) : void

Exports an OpenPGP public key to a key file.

FormatFingerprint ( [ fingerprintContainer ) : string

Formats a key fingerprint as a canonical string.

FormatKeyID ( [ keyIDContainer ) : string

Formats a key ID as a canonical string.

Приватные методы

Метод Описание
FingerprintToKeyID ( [ fingerprint ) : long

Extracts the key ID from a key fingerprint.

ParseFingerpint ( [ fingerprint ) : byte[]
ParseKeyID ( [ keyID ) : long

Parses a canonical string formatting of a key ID.

Описание методов

DeployPublicKey() публичный статический Метод

Exports an OpenPGP public key to a key file.
The file could not be read or written. Write access to the directory is not permitted. The specified could not be found on the system.
public static DeployPublicKey ( [ openPgp, [ keyID, [ path ) : void
openPgp [ The OpenPGP-compatible system used to manage keys.
keyID [ The key ID to get the public key for.
path [ The directory to write the key file to.
Результат void

FormatFingerprint() публичный статический Метод

Formats a key fingerprint as a canonical string.
public static FormatFingerprint ( [ fingerprintContainer ) : string
fingerprintContainer [
Результат string

FormatKeyID() публичный статический Метод

Formats a key ID as a canonical string.
public static FormatKeyID ( [ keyIDContainer ) : string
keyIDContainer [
Результат string