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

Provides access to the signature functions of GnuPG.
This class is immutable and thread-safe.
상속: IOpenPgp
파일 보기 프로젝트 열기: 0install/0install-win

공개 메소드들

메소드 설명
ExportKey ( IKeyIDContainer keyIDContainer ) : string
GenerateKey ( ) : Process

Launches an interactive process for generating a new keypair.

ImportKey ( byte data ) : void
ListSecretKeys ( ) : IEnumerable
Sign ( byte data, OpenPgpSecretKey secretKey, string passphrase = null ) : byte[]
Verify ( byte data, byte signature ) : IEnumerable

비공개 메소드들

메소드 설명
ParseSecretKey ( string sec, string fpr, string uid ) : OpenPgpSecretKey
ParseSignatureLine ( [ line ) : OpenPgpSignature

메소드 상세

ExportKey() 공개 메소드

public ExportKey ( IKeyIDContainer keyIDContainer ) : string
keyIDContainer IKeyIDContainer
리턴 string

GenerateKey() 공개 정적인 메소드

Launches an interactive process for generating a new keypair.
The OpenPGP implementation could not be launched.
public static GenerateKey ( ) : Process
리턴 System.Diagnostics.Process

ImportKey() 공개 메소드

public ImportKey ( byte data ) : void
data byte
리턴 void

ListSecretKeys() 공개 메소드

public ListSecretKeys ( ) : IEnumerable
리턴 IEnumerable

Sign() 공개 메소드

public Sign ( byte data, OpenPgpSecretKey secretKey, string passphrase = null ) : byte[]
data byte
secretKey OpenPgpSecretKey
passphrase string
리턴 byte[]

Verify() 공개 메소드

public Verify ( byte data, byte signature ) : IEnumerable
data byte
signature byte
리턴 IEnumerable