Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F26446069
convert.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
1 KB
Subscribers
None
convert.h
View Options
/* convert.h
* Copyright (C) 2001 g10 Code GmbH
*
* This file is part of KSBA.
*
* KSBA is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* KSBA is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef CONVERT_H
#define CONVERT_H
#include
"asn1-func.h"
/*-- time.c --*/
gpg_error_t
_ksba_asntime_to_iso
(
const
char
*
buffer
,
size_t
length
,
int
is_utctime
,
ksba_isotime_t
timebuf
);
gpg_error_t
_ksba_assert_time_format
(
const
ksba_isotime_t
atime
);
void
_ksba_copy_time
(
ksba_isotime_t
d
,
const
ksba_isotime_t
s
);
int
_ksba_cmp_time
(
const
ksba_isotime_t
a
,
const
ksba_isotime_t
b
);
void
_ksba_current_time
(
ksba_isotime_t
timebuf
);
/*-- dn.c --*/
gpg_error_t
_ksba_dn_to_str
(
const
unsigned
char
*
image
,
AsnNode
node
,
char
**
r_string
);
gpg_error_t
_ksba_derdn_to_str
(
const
unsigned
char
*
der
,
size_t
derlen
,
char
**
r_string
);
gpg_error_t
_ksba_dn_from_str
(
const
char
*
string
,
char
**
rbuf
,
size_t
*
rlength
);
/*-- oid.c --*/
char
*
_ksba_oid_node_to_str
(
const
unsigned
char
*
image
,
AsnNode
node
);
gpg_error_t
_ksba_oid_from_buf
(
const
void
*
buffer
,
size_t
buflen
,
unsigned
char
**
rbuf
,
size_t
*
rlength
);
/*-- name.c --*/
gpg_error_t
_ksba_name_new_from_der
(
ksba_name_t
*
r_name
,
const
unsigned
char
*
image
,
size_t
imagelen
);
#endif
/*CONVERT_H*/
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Thu, Jul 17, 12:26 AM (23 h, 57 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
2f/6a/be61106b4d839ca27afc7375398f
Attached To
rK libksba
Event Timeline
Log In to Comment