protected override void OnDispose() { Native.ASN1_TIME_free(ptr); }
/// <summary> /// Calls CRYPTO_mem_leaks_cb() /// </summary> /// <param name="callback"></param> public static void CheckMemoryLeaks(MemoryLeakHandler callback) { Native.CRYPTO_mem_leaks_cb(callback); }
public Asn1DateTime() : base(Native.ASN1_TIME_new(), true) { }
/// <summary> /// Calls ERR_remove_state() /// </summary> /// <param name="value"></param> public static void RemoveState(uint value) { Native.ERR_remove_state(value); }
/// <summary> /// Calls CRYPTO_cleanup_all_ex_data() /// </summary> public static void Cleanup() { Native.CRYPTO_cleanup_all_ex_data(); }
/// <summary> /// Calls CRYPTO_mem_ctrl() /// </summary> /// <param name="options"></param> public static void SetMemoryCheck(MemoryCheck options) { Native.CRYPTO_mem_ctrl((int)options); }
/// <summary> /// Calls CRYPTO_dbg_set_options() /// </summary> /// <param name="options"></param> public static void SetDebugOptions(DebugOptions options) { Native.CRYPTO_dbg_set_options((int)options); }
/// <summary> /// Calls CRYPTO_malloc_debug_init() /// </summary> public static void MallocDebugInit() { Native.CRYPTO_malloc_debug_init(); }