/* Copyright (C) 2003 Frédéric Giudicelli (contact_nos@yahoo.com). All rights reserved. This product includes cryptographic software written by Eric Young (eay@cryptsoft.com) This program is released under the GPL with the additional exemption that compiling, linking, and/or using OpenSSL is allowed. This program 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 2 of the License. This program 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, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ ASN1_SEQUENCE(RA_STORE_SIG) = { ASN1_SIMPLE(RA_STORE_SIG, signature, ASN1_BIT_STRING), ASN1_SIMPLE(RA_STORE_SIG, sig_alg, X509_ALGOR), }ASN1_SEQUENCE_END(RA_STORE_SIG) IMPLEMENT_PEM_CONVERT(RA_STORE_SIG, "NEWPKI RA STORE SIGNATURE"); ASN1_SEQUENCE(RA_STORE_PRIVDATAS) = { ASN1_SIMPLE(RA_STORE_PRIVDATAS, passwd, ASN1_UTF8STRING), ASN1_SIMPLE(RA_STORE_PRIVDATAS, privkey, RSAPrivateKey), }ASN1_SEQUENCE_END(RA_STORE_PRIVDATAS) IMPLEMENT_ASN1_ENCRYPT_SIGN(RA_STORE_PRIVDATAS); <-- BEGIN H HEADER COPY BLOCK --> #include /*! This structure represents the signature of a profile. */ typedef struct st_RA_STORE_SIG { ASN1_BIT_STRING * signature; //!< The signature. X509_ALGOR * sig_alg; //!< The algo. }RA_STORE_SIG; DECLARE_ASN1_ITEM(RA_STORE_SIG) /*! This structure represents the private datas for a certificate request. */ typedef struct st_RA_STORE_PRIVDATAS { ASN1_UTF8STRING * passwd; //!< The PKCS#12 password. RSA * privkey; //!< The private key. }RA_STORE_PRIVDATAS; DECLARE_ASN1_ITEM(RA_STORE_PRIVDATAS) <-- END H HEADER COPY BLOCK -->