Detect and parse a RFC 5280 related file
Detect and parse a RFC 5280 related file (certificate bundle, certificate, crl, csr)
The file to parse
|
file
string | string
|
|||||||||
|
|||||||||
-
200 The RFC 5280 object type and value
application/jsontypestring requiredValuebundlevaluearray of object (CFCertificate) requiredArray [
dnstring requireddnElementsarray of object (CFDistinguishedName) requiredArray [
typestring requiredvaluestring required]
issuerDnstring requiredserialstring requirednotBeforeinteger requirednotAfterinteger requiredkeyTypestring (Keytype) requiredEnumrsa-<size>ec-secp256r1ec-secp384r1ec-secp521r1ed-Ed448ed-Ed25519signingAlgorithmstring requiredpemstring requiredsubjectKeyIdentifierstring requiredcertificateThumbprintstring requiredisKeyUsagesCriticalboolean requiredisExtendedKeyUsagesCriticalboolean requiredselfSignedboolean requiredauthorityKeyIdentifierstringkeyUsagesarray of stringextendedKeyUsagesarray of stringbasicConstraintsobjectisCaboolean requiredpathLenintegersansarray of objects (models.certificate.SubjectAlternateName)Array [
sanTypestring requiredThe type of the SAN
EnumDNSNAMERFC822NAMEURIIPADDRESSOTHERNAME_UPNOTHERNAME_GUIDvaluestring requiredThe value of the SAN
]
extensionsarray of objectArray [
keystring requiredvaluestring required]
crldpsarray of stringaiasobjectcrtarray of stringocsparray of stringpoliciesarray of objectArray [
oidstring requiredurlsarray of string]
]
typestring requiredValuecertificatevalueobject (CFCertificate) requireddnstring requireddnElementsarray of object (CFDistinguishedName) requiredArray [
typestring requiredvaluestring required]
issuerDnstring requiredserialstring requirednotBeforeinteger requirednotAfterinteger requiredkeyTypestring (Keytype) requiredEnumrsa-<size>ec-secp256r1ec-secp384r1ec-secp521r1ed-Ed448ed-Ed25519signingAlgorithmstring requiredpemstring requiredsubjectKeyIdentifierstring requiredcertificateThumbprintstring requiredisKeyUsagesCriticalboolean requiredisExtendedKeyUsagesCriticalboolean requiredselfSignedboolean requiredauthorityKeyIdentifierstringkeyUsagesarray of stringextendedKeyUsagesarray of stringbasicConstraintsobjectisCaboolean requiredpathLenintegersansarray of objects (models.certificate.SubjectAlternateName)Array [
sanTypestring requiredThe type of the SAN
EnumDNSNAMERFC822NAMEURIIPADDRESSOTHERNAME_UPNOTHERNAME_GUIDvaluestring requiredThe value of the SAN
]
extensionsarray of objectArray [
keystring requiredvaluestring required]
crldpsarray of stringaiasobjectcrtarray of stringocsparray of stringpoliciesarray of objectArray [
oidstring requiredurlsarray of string]
typestring requiredValuecrlvalueobject (CFCrl) requiredissuerstring requiredthisUpdateinteger requirednextUpdateinteger requirednumberstringversionintegerEnum12typestring requiredValuecsrvalueobject (CFCertificationRequest) requiredCertification request
dnstring requiredDistinguished name
dnElementsarray of object (CFDistinguishedName) requiredArray [
typestring requiredvaluestring required]
keytypestring (Keytype) requiredEnumrsa-<size>ec-secp256r1ec-secp384r1ec-secp521r1ed-Ed448ed-Ed25519pemstring requiredsansarray of objects (models.certificate.SubjectAlternateName)Array [
sanTypestring requiredThe type of the SAN
EnumDNSNAMERFC822NAMEURIIPADDRESSOTHERNAME_UPNOTHERNAME_GUIDvaluestring requiredThe value of the SAN
]
-
400 Bad Request
application/jsonerrorstring requiredThe error code of the problem
ValueRFC5280-005messagestring requiredA short, human-readable summary of the problem type
ValueInvalid RFC 5280 objecttitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid RFC 5280 objectdetailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
403 Forbidden action
application/jsonerrorstring requiredThe error code of the problem
ValueLIC-002messagestring requiredA short, human-readable summary of the problem type
ValueInvalid Licensetitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid Licensedetailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueLIC-004messagestring requiredA short, human-readable summary of the problem type
ValueExpired Licensetitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueExpired Licensedetailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
-
500 Internal Server error
application/jsonerrorstring requiredThe error code of the problem
ValueLIC-001messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected errortitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected errordetailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueRFC5280-001messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected Errortitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected Errordetailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807