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