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 requiredThe certificate's Distinguished Name
dnElementsarray of object (CFDistinguishedName) requiredArray [
typestring requiredvaluestring required]
issuerDnstring requiredThe certificate's issuer Distinguished Name
notBeforeinteger requiredThe certificate's start date in milliseconds since the epoch
notAfterinteger requiredThe certificate's expiration date in milliseconds since the epoch
keyTypestring (Keytype) requiredThe certificate's key type
signingAlgorithmstring requiredThe certificate's signing algorithm
pemstring requiredThe certificate's PEM-encoded content
subjectKeyIdentifierstring requiredcertificateThumbprintstring requiredThe certificate's thumbprint
certificateSHAOneThumbprintstring requiredThe thumbprint of the certificate using SHAOne algorithm
publicKeyThumbprintstring requiredThe certificate's public key thumbprint
keyUsagesarray of string requiredThe certificate key's usage
isKeyUsagesCriticalboolean requiredIf the key usage of the certificate are critical
extendedKeyUsagesarray of string requiredThe certificate extended key's usage
isExtendedKeyUsagesCriticalboolean requiredIf the extended key usage are critical
selfSignedboolean requiredWhether the certificate is self-signed
basicConstraintsobject requiredisCaboolean requiredIf the certificate is type of CA
pathLenintegerThe path len of the certificate
serialstringThe certificate's serial number
sansarray of objects (SubjectAlternateName)The certificate's SAN
Array [
sanTypestring requiredThe type of the SAN
EnumRFC822NAME
DNSNAME
URI
IPADDRESS
OTHERNAME_UPN
OTHERNAME_GUID
REGISTERED_ID
valuestring requiredThe value of the SAN
]
extensionsarray of objects | null (CertificateExtension)The certificate's extensions
Array [
keystring requiredThe extension's type
Enumms_sid
ms_template
valuestring requiredThe extension's value
]
crldpsarray of stringThe certificate's CRLDP if any
aiasobjectThe certificate's AIA
ocsparray of stringThe OCSP certificate AIA
crtarray of stringThe CRT certificate AIA
policiesarray of objectArray [
oidstring requiredurlsarray of string]
authorityKeyIdentifierstringThe certificate AKI
unsupportedExtensionsarray of objectArray [
oidstring requiredhexstring required]
]
typestring requiredValuecertificate
valueobject (CFCertificate) requireddnstring requiredThe certificate's Distinguished Name
dnElementsarray of object (CFDistinguishedName) requiredArray [
typestring requiredvaluestring required]
issuerDnstring requiredThe certificate's issuer Distinguished Name
notBeforeinteger requiredThe certificate's start date in milliseconds since the epoch
notAfterinteger requiredThe certificate's expiration date in milliseconds since the epoch
keyTypestring (Keytype) requiredThe certificate's key type
signingAlgorithmstring requiredThe certificate's signing algorithm
pemstring requiredThe certificate's PEM-encoded content
subjectKeyIdentifierstring requiredcertificateThumbprintstring requiredThe certificate's thumbprint
certificateSHAOneThumbprintstring requiredThe thumbprint of the certificate using SHAOne algorithm
publicKeyThumbprintstring requiredThe certificate's public key thumbprint
keyUsagesarray of string requiredThe certificate key's usage
isKeyUsagesCriticalboolean requiredIf the key usage of the certificate are critical
extendedKeyUsagesarray of string requiredThe certificate extended key's usage
isExtendedKeyUsagesCriticalboolean requiredIf the extended key usage are critical
selfSignedboolean requiredWhether the certificate is self-signed
basicConstraintsobject requiredisCaboolean requiredIf the certificate is type of CA
pathLenintegerThe path len of the certificate
serialstringThe certificate's serial number
sansarray of objects (SubjectAlternateName)The certificate's SAN
Array [
sanTypestring requiredThe type of the SAN
EnumRFC822NAME
DNSNAME
URI
IPADDRESS
OTHERNAME_UPN
OTHERNAME_GUID
REGISTERED_ID
valuestring requiredThe value of the SAN
]
extensionsarray of objects | null (CertificateExtension)The certificate's extensions
Array [
keystring requiredThe extension's type
Enumms_sid
ms_template
valuestring requiredThe extension's value
]
crldpsarray of stringThe certificate's CRLDP if any
aiasobjectThe certificate's AIA
ocsparray of stringThe OCSP certificate AIA
crtarray of stringThe CRT certificate AIA
policiesarray of objectArray [
oidstring requiredurlsarray of string]
authorityKeyIdentifierstringThe certificate AKI
unsupportedExtensionsarray of objectArray [
oidstring requiredhexstring required]
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) requiredOne of rsa-2048, rsa-3072, rsa-4096, rsa-8192, ec-secp256r1, ec-secp384r1, ec-secp521r1, ed-448, ed-25519, mldsa-44, mldsa-65, mldsa-87, slhdsa-sha2-128s, slhdsa-sha2-128f, slhdsa-sha2-192s, slhdsa-sha2-192f, slhdsa-sha2-256s, slhdsa-sha2-256f, slhdsa-sha2-128ssha256, slhdsa-sha2-128fsha256, slhdsa-sha2-192ssha512, slhdsa-sha2-192fsha512, slhdsa-sha2-256ssha512, slhdsa-sha2-256fsha512 or
+ pemstring requiredsansarray of objects (SubjectAlternateName)Array [
sanTypestring requiredThe type of the SAN
EnumRFC822NAME
DNSNAME
URI
IPADDRESS
OTHERNAME_UPN
OTHERNAME_GUID
REGISTERED_ID
valuestring requiredThe value of the SAN
]
-
400 Bad Request
application/problem+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/problem+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/problem+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