Skip to content

crypt.pgp #

PGP interface

not implemented yet

could use crpgp for it, but it became somewhat complicated

fn get #

fn get() &PGPFactory

enum PGPFactoryStatus #

enum PGPFactoryStatus {
	init
	ok
	error
}

struct CryptData #

struct CryptData {
mut:
	data      string
	signature Signature
}

struct Pubkey #

struct Pubkey {
mut:
	pubkey string
}

struct Signature #

struct Signature {
mut:
	signature string
}