File_X509 D

Total Complexity 746
Dependencies 7
Dependents 0
Total lines 5,047
Lines of code 3,237
Logical lines of code 1,662
Comment lines 1,208
Methods 91
Properties 51

Methods 91

Method Rating Maintainability Complexity Lines of code
__construct()
D
7
2 990
_translateDNProp()
D
31 56 83
_validateSignatureCountable()
D
29 49 106
sign()
D
26
42 135
getDN()
D
27
37 131
_getMapping()
D
34 40 78
signCRL()
C
34 26 86
computeKeyIdentifier()
B
38 21 63
getDNProp()
B
42 16 49
loadCRL()
A
42 15 50
_mapOutExtensions()
A
42 15 47
loadX509()
A
42 14 49
loadCSR()
A
40 13 59
getChain()
A
46 14 36
validateDate()
A
47 14 33
validateURL()
A
47 13 33
_extensions()
A
46 12 39
_mapInExtensions()
A
45 12 38
loadSPKAC()
A
42 11 50
setAttribute()
A
46 11 40
_fetchURL()
A
47 11 35
removeAttribute()
A
47 11 35
_validateSignature()
A
49 11 31
signCSR()
A
46 10 41
signSPKAC()
A
45 10 41
_mapInAttributes()
A
50 10 27
_testForIntermediate()
A
49 9 31
getPublicKey()
A
50 9 30
getAttribute()
A
51 9 27
saveCRL()
A
46 8 38
_sign()
A
54 9 20
saveX509()
A
44 7 45
_mapOutAttributes()
A
50 8 28
setDN()
A
51 8 26
saveCSR()
A
47 7 34
saveSPKAC()
S
51 7 26
_mapOutDNs()
S
54 7 19
_mapInDNs()
S
55 7 18
setDNProp()
S
55 6 20
_subArray()
S
56 6 19
removeDNProp()
S
55 6 19
revoke()
S
58 6 15
getSubjectDNProp()
S
60 6 13
getSubjectDN()
S
60 6 13
_revokedCertificate()
S
54 5 21
_removeExtension()
S
56 5 18
_setExtension()
S
56 5 18
_timeField()
S
57 5 16
listRevoked()
S
59 5 15
_isSubArrayValid()
S
59 5 15
getIssuerDNProp()
S
62 5 11
getIssuerDN()
S
62 5 11
_formatSubjectPublicKey()
S
60 4 14
_subArrayUnchecked()
S
61 4 13
getAttributes()
S
61 4 13
_getExtension()
S
61 4 12
getRevokedCertificateExtension()
S
62 4 11
getRevokedCertificateExtensions()
S
62 4 11
setRevokedCertificateExtension()
S
62 4 10
setEndDate()
S
58 3 15
loadCA()
S
57 2 19
unrevoke()
S
63 3 10
_extractBER()
S
66 3 7
getRevoked()
S
66 3 8
removeRevokedCertificateExtension()
S
65 3 8
getOID()
S
68 3 7
_getExtensions()
S
64 3 10
_reformatKey()
S
63 2 11
_encodeIP()
S
71 2 5
setKeyIdentifier()
S
70 2 7
setStartDate()
S
66 2 8
getExtension()
S
80 1 3
enableURLFetch()
S
82 1 3
setChallenge()
S
82 1 3
File_X509()
S
83 1 3
_decodeNameConstraintIP()
S
72 1 5
_decodeIP()
S
72 1 5
setSerialNumber()
S
79 1 3
makeCA()
S
82 1 3
_dnsName()
S
80 1 3
_iPAddress()
S
80 1 3
getExtensions()
S
81 1 3
setIPAddress()
S
81 1 3
setDomain()
S
73 1 5
validateSignature()
S
80 1 3
setPrivateKey()
S
82 1 3
removeExtension()
S
81 1 3
setRecurLimit()
S
82 1 3
disableURLFetch()
S
82 1 3
setExtension()
S
79 1 3
setPublicKey()
S
77 1 4