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 requiredValuebundle
valuearray of object (CFCertificate) requiredArray [
dnstring requireddnElementsarray of object (CFDistinguishedName) requiredArray [
typestring requiredvaluestring required]
issuerDnstring requiredserialstring requirednotBeforeinteger requirednotAfterinteger requiredkeyTypestring (Keytype) requiredEnumrsa-<size>
ec-secp256r1
ec-secp384r1
ec-secp521r1
ed-Ed448
ed-Ed25519
signingAlgorithmstring requiredpemstring requiredsubjectKeyIdentifierstring requiredcertificateThumbprintstring requiredisKeyUsagesCriticalboolean requiredisExtendedKeyUsagesCriticalboolean requiredselfSignedboolean requiredauthorityKeyIdentifierstringkeyUsagesarray of stringextendedKeyUsagesarray of stringbasicConstraintsobjectisCaboolean requiredpathLenintegersansarray of objects (models.certificate.SubjectAlternateName)Array [
sanTypestring requiredThe type of the SAN
EnumDNSNAME
RFC822NAME
URI
IPADDRESS
OTHERNAME_UPN
OTHERNAME_GUID
valuestring 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 requiredValuecertificate
valueobject (CFCertificate) requireddnstring requireddnElementsarray of object (CFDistinguishedName) requiredArray [
typestring requiredvaluestring required]
issuerDnstring requiredserialstring requirednotBeforeinteger requirednotAfterinteger requiredkeyTypestring (Keytype) requiredEnumrsa-<size>
ec-secp256r1
ec-secp384r1
ec-secp521r1
ed-Ed448
ed-Ed25519
signingAlgorithmstring requiredpemstring requiredsubjectKeyIdentifierstring requiredcertificateThumbprintstring requiredisKeyUsagesCriticalboolean requiredisExtendedKeyUsagesCriticalboolean requiredselfSignedboolean requiredauthorityKeyIdentifierstringkeyUsagesarray of stringextendedKeyUsagesarray of stringbasicConstraintsobjectisCaboolean requiredpathLenintegersansarray of objects (models.certificate.SubjectAlternateName)Array [
sanTypestring requiredThe type of the SAN
EnumDNSNAME
RFC822NAME
URI
IPADDRESS
OTHERNAME_UPN
OTHERNAME_GUID
valuestring 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 requiredValuecrl
valueobject (CFCrl) requiredissuerstring requiredthisUpdateinteger requirednextUpdateinteger requirednumberstringversionintegerEnum1
2
typestring requiredValuecsr
valueobject (CFCertificationRequest) requiredCertification request
dnstring requiredDistinguished name
dnElementsarray of object (CFDistinguishedName) requiredArray [
typestring requiredvaluestring required]
keytypestring (Keytype) requiredEnumrsa-<size>
ec-secp256r1
ec-secp384r1
ec-secp521r1
ed-Ed448
ed-Ed25519
pemstring requiredsansarray of objects (models.certificate.SubjectAlternateName)Array [
sanTypestring requiredThe type of the SAN
EnumDNSNAME
RFC822NAME
URI
IPADDRESS
OTHERNAME_UPN
OTHERNAME_GUID
valuestring requiredThe value of the SAN
]
-
400 Bad Request
application/jsonerrorstring requiredThe error code of the problem
ValueRFC5280-005
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid RFC 5280 object
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid RFC 5280 object
detailstring | 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-002
messagestring requiredA short, human-readable summary of the problem type
ValueInvalid License
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid License
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueLIC-004
messagestring requiredA short, human-readable summary of the problem type
ValueExpired License
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueExpired License
detailstring | 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-001
messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected error
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected error
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807
errorstring requiredThe error code of the problem
ValueRFC5280-001
messagestring requiredA short, human-readable summary of the problem type
ValueUnexpected Error
titlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueUnexpected Error
detailstring | nullA human-readable explanation specific to this occurrence of the problem. In compliance with RFC7807