key.h (92555) | key.h (98675) |
---|---|
1/* $OpenBSD: key.h,v 1.18 2002/02/24 19:14:59 markus Exp $ */ | 1/* $OpenBSD: key.h,v 1.19 2002/03/18 17:23:31 markus Exp $ */ |
2 3/* 4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: 9 * 1. Redistributions of source code must retain the above copyright --- 43 unchanged lines hidden (view full) --- 53 int flags; 54 RSA *rsa; 55 DSA *dsa; 56}; 57 58Key *key_new(int); 59Key *key_new_private(int); 60void key_free(Key *); | 2 3/* 4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: 9 * 1. Redistributions of source code must retain the above copyright --- 43 unchanged lines hidden (view full) --- 53 int flags; 54 RSA *rsa; 55 DSA *dsa; 56}; 57 58Key *key_new(int); 59Key *key_new_private(int); 60void key_free(Key *); |
61Key *key_demote(Key *); |
|
61int key_equal(Key *, Key *); 62char *key_fingerprint(Key *, enum fp_type, enum fp_rep); 63char *key_type(Key *); 64int key_write(Key *, FILE *); 65int key_read(Key *, char **); 66u_int key_size(Key *); 67 68Key *key_generate(int, u_int); --- 12 unchanged lines hidden --- | 62int key_equal(Key *, Key *); 63char *key_fingerprint(Key *, enum fp_type, enum fp_rep); 64char *key_type(Key *); 65int key_write(Key *, FILE *); 66int key_read(Key *, char **); 67u_int key_size(Key *); 68 69Key *key_generate(int, u_int); --- 12 unchanged lines hidden --- |