Home | History | Annotate | Download | only in x509

Lines Matching refs:fp

117 X509 *d2i_X509_fp(FILE *fp, X509 **x509)
119 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509), fp, x509);
122 int i2d_X509_fp(FILE *fp, X509 *x509)
124 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509), fp, x509);
139 X509_CRL *d2i_X509_CRL_fp(FILE *fp, X509_CRL **crl)
141 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl);
144 int i2d_X509_CRL_fp(FILE *fp, X509_CRL *crl)
146 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl);
161 PKCS7 *d2i_PKCS7_fp(FILE *fp, PKCS7 **p7)
163 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(PKCS7), fp, p7);
166 int i2d_PKCS7_fp(FILE *fp, PKCS7 *p7)
168 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(PKCS7), fp, p7);
183 X509_REQ *d2i_X509_REQ_fp(FILE *fp, X509_REQ **req)
185 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509_REQ), fp, req);
188 int i2d_X509_REQ_fp(FILE *fp, X509_REQ *req)
190 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509_REQ), fp, req);
207 RSA *d2i_RSAPrivateKey_fp(FILE *fp, RSA **rsa)
209 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(RSAPrivateKey), fp, rsa);
212 int i2d_RSAPrivateKey_fp(FILE *fp, RSA *rsa)
214 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(RSAPrivateKey), fp, rsa);
217 RSA *d2i_RSAPublicKey_fp(FILE *fp, RSA **rsa)
219 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(RSAPublicKey), fp, rsa);
223 RSA *d2i_RSA_PUBKEY_fp(FILE *fp, RSA **rsa)
226 RSA_new,(D2I_OF(void))d2i_RSA_PUBKEY, fp,
230 int i2d_RSAPublicKey_fp(FILE *fp, RSA *rsa)
232 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(RSAPublicKey), fp, rsa);
235 int i2d_RSA_PUBKEY_fp(FILE *fp, RSA *rsa)
237 return ASN1_i2d_fp((I2D_OF(void))i2d_RSA_PUBKEY,fp,rsa);
275 DSA *d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa)
277 return ASN1_d2i_fp_of(DSA,DSA_new,d2i_DSAPrivateKey,fp,dsa);
280 int i2d_DSAPrivateKey_fp(FILE *fp, DSA *dsa)
282 return ASN1_i2d_fp_of_const(DSA,i2d_DSAPrivateKey,fp,dsa);
285 DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa)
287 return ASN1_d2i_fp_of(DSA,DSA_new,d2i_DSA_PUBKEY,fp,dsa);
290 int i2d_DSA_PUBKEY_fp(FILE *fp, DSA *dsa)
292 return ASN1_i2d_fp_of(DSA,i2d_DSA_PUBKEY,fp,dsa);
321 EC_KEY *d2i_EC_PUBKEY_fp(FILE *fp, EC_KEY **eckey)
323 return ASN1_d2i_fp_of(EC_KEY,EC_KEY_new,d2i_EC_PUBKEY,fp,eckey);
326 int i2d_EC_PUBKEY_fp(FILE *fp, EC_KEY *eckey)
328 return ASN1_i2d_fp_of(EC_KEY,i2d_EC_PUBKEY,fp,eckey);
331 EC_KEY *d2i_ECPrivateKey_fp(FILE *fp, EC_KEY **eckey)
333 return ASN1_d2i_fp_of(EC_KEY,EC_KEY_new,d2i_ECPrivateKey,fp,eckey);
336 int i2d_ECPrivateKey_fp(FILE *fp, EC_KEY *eckey)
338 return ASN1_i2d_fp_of(EC_KEY,i2d_ECPrivateKey,fp,eckey);
405 X509_SIG *d2i_PKCS8_fp(FILE *fp, X509_SIG **p8)
407 return ASN1_d2i_fp_of(X509_SIG,X509_SIG_new,d2i_X509_SIG,fp,p8);
410 int i2d_PKCS8_fp(FILE *fp, X509_SIG *p8)
412 return ASN1_i2d_fp_of(X509_SIG,i2d_X509_SIG,fp,p8);
427 PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO_fp(FILE *fp,
431 d2i_PKCS8_PRIV_KEY_INFO,fp,p8inf);
434 int i2d_PKCS8_PRIV_KEY_INFO_fp(FILE *fp, PKCS8_PRIV_KEY_INFO *p8inf)
436 return ASN1_i2d_fp_of(PKCS8_PRIV_KEY_INFO,i2d_PKCS8_PRIV_KEY_INFO,fp,
440 int i2d_PKCS8PrivateKeyInfo_fp(FILE *fp, EVP_PKEY *key)
446 ret = i2d_PKCS8_PRIV_KEY_INFO_fp(fp, p8inf);
451 int i2d_PrivateKey_fp(FILE *fp, EVP_PKEY *pkey)
453 return ASN1_i2d_fp_of(EVP_PKEY,i2d_PrivateKey,fp,pkey);
456 EVP_PKEY *d2i_PrivateKey_fp(FILE *fp, EVP_PKEY **a)
458 return ASN1_d2i_fp_of(EVP_PKEY,EVP_PKEY_new,d2i_AutoPrivateKey,fp,a);
461 int i2d_PUBKEY_fp(FILE *fp, EVP_PKEY *pkey)
463 return ASN1_i2d_fp_of(EVP_PKEY,i2d_PUBKEY,fp,pkey);
466 EVP_PKEY *d2i_PUBKEY_fp(FILE *fp, EVP_PKEY **a)
468 return ASN1_d2i_fp_of(EVP_PKEY,EVP_PKEY_new,d2i_PUBKEY,fp,a);