#include <cstring>#include <sys/types.h>#include <sys/stat.h>#include <openssl/asn1.h>#include <openssl/asn1t.h>#include <openssl/err.h>#include <openssl/evp.h>#include <openssl/pem.h>#include <openssl/rsa.h>#include <openssl/x509v3.h>#include <memory>#include "XrdSut/XrdSutRndm.hh"#include "XrdCrypto/XrdCryptogsiX509Chain.hh"#include "XrdCrypto/XrdCryptosslAux.hh"#include "XrdCrypto/XrdCryptosslRSA.hh"#include "XrdCrypto/XrdCryptosslTrace.hh"#include "XrdCrypto/XrdCryptosslX509.hh"#include "XrdCrypto/XrdCryptosslX509Req.hh"Go to the source code of this file.
Macros | |
| #define | BIO_GET_STRING(b, str) |
| #define | BIO_PRINT(b, c) |
| #define | KEY_USAGE_OID "2.5.29.15" |
| #define | SUBJ_ALT_NAME_OID "2.5.29.17" |
| #define | XRDGSI_VOMS_ACSEQ_OID "1.3.6.1.4.1.8005.100.100.5" |
| #define | XRDGSI_VOMS_ATCAP_OID "1.3.6.1.4.1.8005.100.100.4" |
Typedefs | |
| using | EVP_PKEY_ptr = std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)> |
| using | PROXY_CERT_INFO_EXTENSION_ptr = std::unique_ptr<PROXY_CERT_INFO_EXTENSION, decltype(&PROXY_CERT_INFO_EXTENSION_free)> |
| using | STACK_OF_X509_EXTENSION_ptr = std::unique_ptr<STACK_OF(X509_EXTENSION), decltype(&stackOfX509ExtensionDelete)> |
| using | X509_EXTENSION_ptr = std::unique_ptr<X509_EXTENSION, decltype(&X509_EXTENSION_free)> |
| using | X509_NAME_ptr = std::unique_ptr<X509_NAME, decltype(&X509_NAME_free)> |
| using | X509_ptr = std::unique_ptr<X509, decltype(&X509_free)> |
| using | X509_REQ_ptr = std::unique_ptr<X509_REQ, decltype(&X509_REQ_free)> |
Functions | |
| static void | stackOfX509ExtensionDelete (STACK_OF(X509_EXTENSION) *ske) |
| static int | XrdCheckRSA (EVP_PKEY *pkey) |
| int | XrdCryptosslX509Asn1PrintInfo (int tag, int xclass, int constructed, int indent) |
| int | XrdCryptosslX509FillUnknownExt (const unsigned char **pp, long length) |
| int | XrdCryptosslX509FillVOMS (const unsigned char **pp, long length, bool &getvat, XrdOucString &vat) |
| #define BIO_GET_STRING | ( | b, | |
| str ) |
Definition at line 105 of file XrdCryptosslgsiAux.cc.
| #define BIO_PRINT | ( | b, | |
| c ) |
Definition at line 91 of file XrdCryptosslgsiAux.cc.
| #define KEY_USAGE_OID "2.5.29.15" |
Definition at line 78 of file XrdCryptosslgsiAux.cc.
| #define SUBJ_ALT_NAME_OID "2.5.29.17" |
Definition at line 80 of file XrdCryptosslgsiAux.cc.
| #define XRDGSI_VOMS_ACSEQ_OID "1.3.6.1.4.1.8005.100.100.5" |
Definition at line 89 of file XrdCryptosslgsiAux.cc.
| #define XRDGSI_VOMS_ATCAP_OID "1.3.6.1.4.1.8005.100.100.4" |
Definition at line 88 of file XrdCryptosslgsiAux.cc.
| using EVP_PKEY_ptr = std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)> |
Definition at line 63 of file XrdCryptosslgsiAux.cc.
| using PROXY_CERT_INFO_EXTENSION_ptr = std::unique_ptr<PROXY_CERT_INFO_EXTENSION, decltype(&PROXY_CERT_INFO_EXTENSION_free)> |
Definition at line 68 of file XrdCryptosslgsiAux.cc.
| using STACK_OF_X509_EXTENSION_ptr = std::unique_ptr<STACK_OF(X509_EXTENSION), decltype(&stackOfX509ExtensionDelete)> |
Definition at line 69 of file XrdCryptosslgsiAux.cc.
| using X509_EXTENSION_ptr = std::unique_ptr<X509_EXTENSION, decltype(&X509_EXTENSION_free)> |
Definition at line 67 of file XrdCryptosslgsiAux.cc.
| using X509_NAME_ptr = std::unique_ptr<X509_NAME, decltype(&X509_NAME_free)> |
Definition at line 65 of file XrdCryptosslgsiAux.cc.
| using X509_ptr = std::unique_ptr<X509, decltype(&X509_free)> |
Definition at line 64 of file XrdCryptosslgsiAux.cc.
| using X509_REQ_ptr = std::unique_ptr<X509_REQ, decltype(&X509_REQ_free)> |
Definition at line 66 of file XrdCryptosslgsiAux.cc.
|
static |
Definition at line 60 of file XrdCryptosslgsiAux.cc.
References stackOfX509ExtensionDelete().
Referenced by stackOfX509ExtensionDelete().
|
static |
Definition at line 119 of file XrdCryptosslgsiAux.cc.
References XrdCheckRSA().
Referenced by XrdCheckRSA(), and XrdCheckRSA().
| int XrdCryptosslX509Asn1PrintInfo | ( | int | tag, |
| int | xclass, | ||
| int | constructed, | ||
| int | indent ) |
References XrdCryptosslX509Asn1PrintInfo().
Referenced by XrdCryptosslX509Asn1PrintInfo().
| int XrdCryptosslX509FillUnknownExt | ( | const unsigned char ** | pp, |
| long | length ) |
References XrdCryptosslX509FillUnknownExt().
Referenced by XrdCryptosslX509FillUnknownExt().
| int XrdCryptosslX509FillVOMS | ( | const unsigned char ** | pp, |
| long | length, | ||
| bool & | getvat, | ||
| XrdOucString & | vat ) |
References XrdCryptosslX509FillVOMS().
Referenced by XrdCryptosslX509FillVOMS().