2 커밋 eaf9aeb61e ... 5fff55a4b3

작성자 SHA1 메시지 날짜
  Ian Goldberg 5fff55a4b3 Add functions for serializing and deserializing private keys 5 달 전
  Ian Goldberg eaf9aeb61e Add functions for serializing and deserializing private keys 5 달 전
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      src/lib.rs

+ 5 - 0
src/lib.rs

@@ -1040,6 +1040,11 @@ pub mod ffi
         fn DeserializePublicKeyFromFile(publicKeyLocation: &CxxString,
                                         publicKey: Pin<&mut PublicKeyDCRTPoly>,
                                         serialMode: SerialMode) -> bool;
+        fn SerializePrivateKeyToFile(privateKeyLocation: &CxxString, privateKey: &PrivateKeyDCRTPoly,
+                                    serialMode: SerialMode) -> bool;
+        fn DeserializePrivateKeyFromFile(privateKeyLocation: &CxxString,
+                                        privateKey: Pin<&mut PrivateKeyDCRTPoly>,
+                                        serialMode: SerialMode) -> bool;
     }
 }