コード例 #1
0
 internal static extern Status ToBsonWithNonces(
     CiphertextBallotHandle handle, out uint *data, out UIntPtr size);
コード例 #2
0
 internal static extern Status FromBson(
     uint *data, ulong length, CiphertextBallotHandle handle);
コード例 #3
0
 internal static extern Status ToJson(
     CiphertextBallotHandle handle, out IntPtr data, out UIntPtr size);
コード例 #4
0
 internal static extern bool IsValidEncryption(
     CiphertextBallotHandle handle,
     ElementModQ.ElementModQHandle manifest_hash,
     ElementModP.ElementModPHandle public_key,
     ElementModQ.ElementModQHandle crypto_extended_base_hash);
コード例 #5
0
 internal static extern Status FromJson(
     [MarshalAs(UnmanagedType.LPStr)] string data,
     out CiphertextBallotHandle handle);
コード例 #6
0
 internal static extern Status GetNonce(
     CiphertextBallotHandle handle,
     out ElementModQ.ElementModQHandle nonce_ref);
コード例 #7
0
 internal static extern Status GetCryptoHash(
     CiphertextBallotHandle handle,
     out ElementModQ.ElementModQHandle hash_ref);
コード例 #8
0
 internal static extern Status GetContestAtIndex(
     CiphertextBallotHandle handle,
     ulong index,
     out CiphertextBallotContest.CiphertextBallotContestHandle contest_ref);
コード例 #9
0
 internal static extern Status GetBallotCode(
     CiphertextBallotHandle handle,
     out ElementModQ.ElementModQHandle ballot_code_ref);
コード例 #10
0
 internal static extern ulong GetContestsSize(CiphertextBallotHandle handle);
コード例 #11
0
 internal static extern Status GetManifestHash(
     CiphertextBallotHandle handle,
     out ElementModQ.ElementModQHandle manifest_hash_ref);
コード例 #12
0
 internal static extern Status GetStyleId(
     CiphertextBallotHandle handle, out IntPtr style_id);
コード例 #13
0
 internal static extern Status GetObjectId(
     CiphertextBallotHandle handle, out IntPtr object_id);
コード例 #14
0
 internal static extern Status Free(CiphertextBallotHandle handle);