This is the low-level C-style interface to the crypto API. Use this interface with caution.
示例#1
0
 protected override void OnDispose()
 {
     Native.ASN1_TIME_free(ptr);
 }
示例#2
0
		/// <summary>
		/// Calls CRYPTO_mem_leaks_cb()
		/// </summary>
		/// <param name="callback"></param>
		public static void CheckMemoryLeaks(MemoryLeakHandler callback)
		{
			Native.CRYPTO_mem_leaks_cb(callback);
		}
示例#3
0
 public Asn1DateTime()
     : base(Native.ASN1_TIME_new(), true)
 {
 }
示例#4
0
		/// <summary>
		/// Calls ERR_remove_state()
		/// </summary>
		/// <param name="value"></param>
		public static void RemoveState(uint value)
		{
			Native.ERR_remove_state(value);
		}
示例#5
0
		/// <summary>
		/// Calls CRYPTO_cleanup_all_ex_data()
		/// </summary>
		public static void Cleanup()
		{
			Native.CRYPTO_cleanup_all_ex_data();
		}
示例#6
0
		/// <summary>
		/// Calls CRYPTO_mem_ctrl()
		/// </summary>
		/// <param name="options"></param>
		public static void SetMemoryCheck(MemoryCheck options)
		{
			Native.CRYPTO_mem_ctrl((int)options);
		}
示例#7
0
		/// <summary>
		/// Calls CRYPTO_dbg_set_options()
		/// </summary>
		/// <param name="options"></param>
		public static void SetDebugOptions(DebugOptions options)
		{
			Native.CRYPTO_dbg_set_options((int)options);
		}
示例#8
0
		/// <summary>
		/// Calls CRYPTO_malloc_debug_init()
		/// </summary>
		public static void MallocDebugInit()
		{
			Native.CRYPTO_malloc_debug_init();
		}