Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F22067737
oidmap.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
525 B
Subscribers
None
oidmap.cpp
View Options
/*
oidmap.cpp
This file is part of libkleo, the KDE keymanagement library
SPDX-FileCopyrightText: 2008 Klarälvdalens Datakonsult AB
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include
"oidmap.h"
#include
<QString>
const
char
*
oidForAttributeName
(
const
QString
&
attr
)
{
QByteArray
attrUtf8
=
attr
.
toUtf8
();
for
(
unsigned
int
i
=
0
;
i
<
numOidMaps
;
++
i
)
{
if
(
qstricmp
(
attrUtf8
.
constData
(),
oidmap
[
i
].
name
)
==
0
)
{
return
oidmap
[
i
].
oid
;
}
}
return
nullptr
;
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Tue, Apr 22, 3:56 AM (1 d, 15 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
64/7a/50f5bbaf1dd679ce79dbbb42a265
Attached To
rLIBKLEO Libkleo
Event Timeline
Log In to Comment