コード例 #1
0
ファイル: x_all.c プロジェクト: ahenroid/ptptl-0.2
X509_REQ *d2i_X509_REQ_fp(FILE *fp, X509_REQ **req)
	{
	return((X509_REQ *)ASN1_d2i_fp((char *(*)())
		X509_REQ_new, (char *(*)())d2i_X509_REQ, (fp),
		(unsigned char **)(req)));
	}
コード例 #2
0
ファイル: x_all.c プロジェクト: ahenroid/ptptl-0.2
RSA *d2i_RSAPublicKey_fp(FILE *fp, RSA **rsa)
	{
	return((RSA *)ASN1_d2i_fp((char *(*)())
		RSA_new,(char *(*)())d2i_RSAPublicKey, (fp),
		(unsigned char **)(rsa)));
	}
コード例 #3
0
ファイル: x_all.c プロジェクト: ahenroid/ptptl-0.2
PKCS7 *d2i_PKCS7_fp(FILE *fp, PKCS7 **p7)
	{
	return((PKCS7 *)ASN1_d2i_fp((char *(*)())
		PKCS7_new,(char *(*)())d2i_PKCS7, (fp),
		(unsigned char **)(p7)));
	}
コード例 #4
0
ファイル: x_all.c プロジェクト: ahenroid/ptptl-0.2
X509_CRL *d2i_X509_CRL_fp(FILE *fp, X509_CRL **crl)
	{
	return((X509_CRL *)ASN1_d2i_fp((char *(*)())
		X509_CRL_new,(char *(*)())d2i_X509_CRL, (fp),
		(unsigned char **)(crl)));
	}
コード例 #5
0
ファイル: x_all.c プロジェクト: ahenroid/ptptl-0.2
X509 *d2i_X509_fp(FILE *fp, X509 **x509)
	{
	return((X509 *)ASN1_d2i_fp((char *(*)())X509_new,
		(char *(*)())d2i_X509, (fp),(unsigned char **)(x509)));
	}
コード例 #6
0
RSA *d2i_RSA_PUBKEY_fp(TINYCLR_SSL_FILE *fp, RSA **rsa)
	{
	return (RSA*)ASN1_d2i_fp((void *(*)(void))
			   RSA_new,(D2I_OF(void))d2i_RSA_PUBKEY, fp,
			   (void **)rsa);
	}
コード例 #7
0
ファイル: x_all.c プロジェクト: CoryXie/BarrelfishOS
RSA *d2i_RSA_PUBKEY_fp(FILE *fp, RSA **rsa)
	{
	return ASN1_d2i_fp((void *(*)(void))
			   RSA_new,(D2I_OF(void))d2i_RSA_PUBKEY, fp,
			   (void **)rsa);
	}