l.s.c.t.t.FakeEncryptedContainer(NaClEncryptedContainerBase) : class documentation

Part of lp.services.crypto.tests.test_model View In Hierarchy

Undocumented
Method __init__ Undocumented
Method public_key_bytes The serialised public key as a byte string.
Method private_key_bytes The serialised private key as a byte string.

Inherited from NaClEncryptedContainerBase:

Method public_key The public key as a L{nacl.public.PublicKey}.
Method can_encrypt Undocumented
Method encrypt See IEncryptedContainer.
Method private_key The private key as a L{nacl.public.PrivateKey}.
Method can_decrypt Undocumented
Method decrypt See IEncryptedContainer.
def __init__(self, public_key_bytes, private_key_bytes=None):
Undocumented
@property
def public_key_bytes(self):
The serialised public key as a byte string.

Concrete implementations must provide this.

@property
def private_key_bytes(self):
The serialised private key as a byte string.

Concrete implementations must provide this.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.