internal EJsonCrypto( IFileSystem fileSystem, IJObjectCrypto jObjectCrypto, IPublicKeyBox publicKeyBox) { _fileSystem = fileSystem ?? new FileSystemWrapper(); _jObjectCrypto = jObjectCrypto ?? new JObjectCrypto(); _publicKeyBox = publicKeyBox ?? new PublicKeyBoxWrapper(); }
internal BoxedMessageCrypto(Encoding encoding, IPublicKeyBox publicKeyBox) { _publicKeyBox = publicKeyBox; _encoding = encoding; }