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
80 const char *
ProxyType()
const {
return cpxytype[pxytype]; }
83 int BitStrength() {
return ((cert) ? EVP_PKEY_bits(X509_get_pubkey(cert)) : -1);}
102 virtual bool MatchesSAN(
const char *,
bool &);
125 int FillUnknownExt(
XRDGSI_CONST unsigned char **pp,
long length,
bool dump = 0);
126 int Asn1PrintInfo(
int tag,
int xclass,
int constructed,
int indent);
129 static const char *cpxytype[5];
const char * IssuerHash()
const char * SubjectHash()
XrdCryptoX509data GetExtension(const char *oid)
const char * ProxyType() const
const char * ParentFile()
int DumpExtensions(bool dumpunknown=0)
virtual ~XrdCryptosslX509()
XrdOucString SerialNumberString()
XrdCryptoX509data Opaque()
bool Verify(XrdCryptoX509 *ref)
virtual bool MatchesSAN(const char *, bool &)
XrdCryptosslX509(const char *cf, const char *kf=0)
void SetPKI(XrdCryptoX509data pki)
const char * c_str() const