Lines Matching defs:type
83 int SSL_use_certificate_file(SSL *ssl, const char *file, int type)
100 if (type == SSL_FILETYPE_ASN1) {
103 } else if (type == SSL_FILETYPE_PEM) {
193 if ((pkey->type == EVP_PKEY_RSA) &&
216 int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file, int type)
232 if (type == SSL_FILETYPE_ASN1) {
235 } else if (type == SSL_FILETYPE_PEM) {
293 int SSL_use_PrivateKey_file(SSL *ssl, const char *file, int type)
309 if (type == SSL_FILETYPE_PEM) {
315 } else if (type == SSL_FILETYPE_ASN1) {
335 int SSL_use_PrivateKey_ASN1(int type, SSL *ssl, const unsigned char *d,
343 if ((pkey = d2i_PrivateKey(type, NULL, &p, (long)len)) == NULL) {
393 if ((c->pkeys[i].privatekey->type == EVP_PKEY_RSA) &&
424 int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type)
441 if (type == SSL_FILETYPE_ASN1) {
444 } else if (type == SSL_FILETYPE_PEM) {
513 int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type)
529 if (type == SSL_FILETYPE_ASN1) {
532 } else if (type == SSL_FILETYPE_PEM) {
587 int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type)
603 if (type == SSL_FILETYPE_PEM) {
608 } else if (type == SSL_FILETYPE_ASN1) {
628 int SSL_CTX_use_PrivateKey_ASN1(int type, SSL_CTX *ctx,
636 if ((pkey = d2i_PrivateKey(type, NULL, &p, (long)len)) == NULL) {