2 * Copyright (C) 2002-2012 Free Software Foundation, Inc.
6 * This file is part of OpenCDK.
8 * The OpenCDK library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public License
10 * as published by the Free Software Foundation; either version 3 of
11 * the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>
74 unsigned force_digest
:1;
85 unsigned int close_db
:1;
87 char *(*passphrase_cb
) (void *uint8_t, const char *prompt
);
88 void *passphrase_cb_value
;
97 struct cdk_desig_revoker_s
99 struct cdk_desig_revoker_s
*next
;
102 byte fpr
[KEY_FPR_LEN
];
107 struct cdk_subpkt_s
*next
;
115 struct cdk_keylist_s
*next
;
130 byte key
[32]; /* 256-bit */
135 struct cdk_strlist_s
*next
;
139 #endif /* CDK_CONTEXT_H */