1 #ifndef __CRYPTO_SSLX509_H__
2 #define __CRYPTO_SSLX509_H__
39 #include <openssl/x509v3.h>
40 #include <openssl/bio.h>
41 #include <openssl/evp.h>
43 #if OPENSSL_VERSION_NUMBER >= 0x0090800f
44 # define XRDGSI_CONST const
83 int BitStrength() {
return ((cert) ? EVP_PKEY_bits(X509_get_pubkey(cert)) : -1);}
102 virtual bool MatchesSAN(
const char *,
bool &);
126 int Asn1PrintInfo(
int tag,
int xclass,
int constructed,
int indent);
int pxytype
Definition: XrdCryptosslX509.hh:123
Definition: XrdCryptoRSA.hh:50
int BitStrength()
Definition: XrdCryptosslX509.hh:83
virtual bool MatchesSAN(const char *, bool &)
const char * c_str() const
Definition: XrdOucString.hh:280
time_t notafter
Definition: XrdCryptosslX509.hh:113
XrdCryptoRSA * PKI()
Definition: XrdCryptosslX509.hh:70
XrdOucString subjectoldhash
Definition: XrdCryptosslX509.hh:118
virtual ~XrdCryptosslX509()
XrdOucString issuerhash
Definition: XrdCryptosslX509.hh:117
const char * ProxyType() const
Definition: XrdCryptosslX509.hh:80
const char * ParentFile()
Definition: XrdCryptosslX509.hh:77
int DumpExtensions(bool dumpunknown=0)
int FillUnknownExt(XRDGSI_CONST unsigned char **pp, long length, bool dump=0)
X509 * cert
Definition: XrdCryptosslX509.hh:111
XrdCryptosslX509(const char *cf, const char *kf=0)
XrdSutBucket * bucket
Definition: XrdCryptosslX509.hh:121
void SetPKI(XrdCryptoX509data pki)
Definition: XrdCryptosslX509.hh:54
XrdOucString srcfile
Definition: XrdCryptosslX509.hh:120
XrdCryptoX509data Opaque()
Definition: XrdCryptosslX509.hh:64
static const char * cpxytype[5]
Definition: XrdCryptosslX509.hh:129
XrdCryptoRSA * pki
Definition: XrdCryptosslX509.hh:122
const char * IssuerHash()
Definition: XrdCryptoX509.hh:99
XrdOucString issuer
Definition: XrdCryptosslX509.hh:115
XrdOucString SerialNumberString()
void * XrdCryptoX509data
Definition: XrdCryptoX509.hh:43
Definition: XrdSutBucket.hh:43
bool Verify(XrdCryptoX509 *ref)
XrdOucString issueroldhash
Definition: XrdCryptosslX509.hh:119
const char * SubjectHash()
Definition: XrdCryptoX509.hh:104
#define XRDGSI_CONST
Definition: XrdCryptosslX509.hh:46
XrdOucString subject
Definition: XrdCryptosslX509.hh:114
time_t notbefore
Definition: XrdCryptosslX509.hh:112
int Asn1PrintInfo(int tag, int xclass, int constructed, int indent)
XrdOucString subjecthash
Definition: XrdCryptosslX509.hh:116
long long kXR_int64
Definition: XPtypes.hh:98
Definition: XrdCryptoX509.hh:51
Definition: XrdOucString.hh:254
XrdCryptoX509data GetExtension(const char *oid)