Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F22067799
oidmap.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
1 KB
Subscribers
None
oidmap.h
View Options
/*
oidmap.h
This file is part of libkleo, the KDE keymanagement library
SPDX-FileCopyrightText: 2004 Klarälvdalens Datakonsult AB
SPDX-FileCopyrightText: 2008 Klarälvdalens Datakonsult AB
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include
"kleo_export.h"
class
QString
;
static
const
struct
{
const
char
*
name
;
const
char
*
oid
;
}
oidmap
[]
=
{
// keep them ordered by oid:
{
"SP"
,
"ST"
},
// hack to show the Sphinx-required/desired SP for
// StateOrProvince, otherwise known as ST or even S
{
"NameDistinguisher"
,
"0.2.262.1.10.7.20"
},
{
"EMAIL"
,
"1.2.840.113549.1.9.1"
},
{
"SN"
,
"2.5.4.4"
},
{
"SerialNumber"
,
"2.5.4.5"
},
{
"T"
,
"2.5.4.12"
},
{
"D"
,
"2.5.4.13"
},
{
"BC"
,
"2.5.4.15"
},
{
"ADDR"
,
"2.5.4.16"
},
{
"PC"
,
"2.5.4.17"
},
{
"GN"
,
"2.5.4.42"
},
{
"Pseudo"
,
"2.5.4.65"
},
};
static
const
unsigned
int
numOidMaps
=
sizeof
oidmap
/
sizeof
*
oidmap
;
KLEO_EXPORT
const
char
*
oidForAttributeName
(
const
QString
&
attr
);
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Tue, Apr 22, 3:58 AM (3 h, 39 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
59/24/f00f2adda68a790fae126769716f
Attached To
rLIBKLEO Libkleo
Event Timeline
Log In to Comment