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
77 const char *
ParentFile() {
return (
const char *)(srcfile.c_str()); }
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 * SubjectHash()
const char * IssuerHash()
XrdCryptoX509data GetExtension(const char *oid)
virtual ~XrdCryptosslX509()
XrdOucString SerialNumberString()
const char * ProxyType() const
XrdCryptoX509data Opaque()
bool Verify(XrdCryptoX509 *ref)
virtual bool MatchesSAN(const char *, bool &)
XrdCryptosslX509(const char *cf, const char *kf=0)
const char * ParentFile()
void SetPKI(XrdCryptoX509data pki)