X509Request

X509Request is a class for managing X509 requests with their Pkeys

class DIRAC.Core.Security.X509Request.X509Request(reqObj=None, pkeyObj=None)

Bases: object

__init__(reqObj=None, pkeyObj=None)

x.__init__(…) initializes x; see help(type(x)) for signature

checkChain(chain)

Check that the chain matches the request

dumpAll()

Dump the contents into a string

dumpPKey()

Get the pkey as a string

dumpRequest()

Get the request as a string

generateChainFromResponse(pemData)

Generate a X509 Chain from the pkey and the pem data passed as the argument Return : S_OK( X509Chain ) / S_ERROR

generateProxyRequest(bitStrength=1024, limited=False)
getIssuerDN()

Get issuer DN Return: S_OK( string )/S_ERROR

getPKey()

Get PKey Internal

getSubjectDN()

Get subject DN Return: S_OK( string )/S_ERROR

loadAllFromString(pemData)