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();
		}