Annotation of embedaddon/strongswan/src/libstrongswan/credentials/certificates/pkcs10.h, revision 1.1
1.1 ! misho 1: /*
! 2: * Copyright (C) 2009 Andreas Steffen
! 3: * HSR Hochschule fuer Technik Rapperswil
! 4: *
! 5: * This program is free software; you can redistribute it and/or modify it
! 6: * under the terms of the GNU General Public License as published by the
! 7: * Free Software Foundation; either version 2 of the License, or (at your
! 8: * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
! 9: *
! 10: * This program is distributed in the hope that it will be useful, but
! 11: * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
! 12: * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
! 13: * for more details.
! 14: */
! 15:
! 16: /**
! 17: * @defgroup req req
! 18: * @{ @ingroup certificates
! 19: */
! 20:
! 21: #ifndef PKCS10_H_
! 22: #define PKCS10_H_
! 23:
! 24: #include <collections/enumerator.h>
! 25: #include <credentials/certificates/certificate.h>
! 26:
! 27: typedef struct pkcs10_t pkcs10_t;
! 28:
! 29: /**
! 30: * PKCS#10 certificate request interface.
! 31: *
! 32: * This interface adds additional methods to the certificate_t type to
! 33: * allow further operations on a certificate request.
! 34: */
! 35: struct pkcs10_t {
! 36:
! 37: /**
! 38: * Implements certificate_t.
! 39: */
! 40: certificate_t interface;
! 41:
! 42: /**
! 43: * Get the challenge password
! 44: *
! 45: * @return challenge password as a chunk_t
! 46: */
! 47: chunk_t (*get_challengePassword)(pkcs10_t *this);
! 48:
! 49: /**
! 50: * Get.
! 51: *
! 52: * @return enumerator over subjectAltNames as identification_t*
! 53: */
! 54: enumerator_t* (*create_subjectAltName_enumerator)(pkcs10_t *this);
! 55: };
! 56:
! 57: #endif /** PKCS10_H_ @}*/
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>