📄 oid.cpp
字号:
/* here we have the possibility to add our own OIDS */#include <openssl/objects.h>char *our_oids[] = {"1.3.6.1.4.1.311.20.2", "dom", "Domain Controller","1.3.6.1.4.1.311.21.1", "MsCaV", "Microsoft CA Version",#if OPENSSL_VERSION_NUMBER < 0x00907000L"1.3.6.1.4.1.311.20.2.3", "msUPN", "Microsoft Universal Principal Name",#endifNULL };void initOIDs() { int i=0; while (our_oids[i] != NULL) { OBJ_create(our_oids[i], our_oids[i+1], our_oids[i+2]); i+=3; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -