Changeset View
Changeset View
Standalone View
Standalone View
lang/python/src/results.py
Show First 20 Lines • Show All 74 Lines • ▼ Show 20 Lines | |||||
class EncryptResult(Result): | class EncryptResult(Result): | ||||
_map = dict(invalid_recipients=InvalidKey) | _map = dict(invalid_recipients=InvalidKey) | ||||
class Recipient(Result): | class Recipient(Result): | ||||
pass | pass | ||||
class DecryptResult(Result): | class DecryptResult(Result): | ||||
_type = dict(wrong_key_usage=bool) | _type = dict(wrong_key_usage=bool, is_de_vs=bool) | ||||
_map = dict(recipients=Recipient) | _map = dict(recipients=Recipient) | ||||
class NewSignature(Result): | class NewSignature(Result): | ||||
pass | pass | ||||
class SignResult(Result): | class SignResult(Result): | ||||
_map = dict(invalid_signers=InvalidKey, signatures=NewSignature) | _map = dict(invalid_signers=InvalidKey, signatures=NewSignature) | ||||
class Notation(Result): | class Notation(Result): | ||||
pass | pass | ||||
class Signature(Result): | class Signature(Result): | ||||
_type = dict(wrong_key_usage=bool, chain_model=bool) | _type = dict(wrong_key_usage=bool, chain_model=bool, is_de_vs=bool) | ||||
_map = dict(notations=Notation) | _map = dict(notations=Notation) | ||||
class VerifyResult(Result): | class VerifyResult(Result): | ||||
_map = dict(signatures=Signature) | _map = dict(signatures=Signature) | ||||
class ImportStatus(Result): | class ImportStatus(Result): | ||||
pass | pass | ||||
Show All 14 Lines |