C# 클래스 ZeroInstall.Store.Trust.OpenPgpUtils

Helper methods for IKeyIDContainer and IFingerprintContainer.
파일 보기 프로젝트 열기: 0install/0install-win 1 사용 예제들

공개 메소드들

메소드 설명
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