Decode a x509 certificate (file)
Decode a x509 certificate (file)
The x509 certificate file PEM or DER encoded
x509
string | string
|
-
200 The decoded x509 certificate
dnstring requiredThe certificate's Distinguished Name
dnElementsarray of object (CFDistinguishedName) requiredissuerDnstring 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
Enumrsa-<size>
ec-secp256r1
ec-secp384r1
ec-secp521r1
ed-Ed448
ed-Ed25519
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 requiredserialstringThe certificate's serial number
sansarray of objects (models.certificate.SubjectAlternateName)The certificate's SAN
extensionsarray of objects | null (models.certificate.extension.CertificateExtension)The certificate's extensions
crldpsarray of stringThe certificate's CRLDP if any
aiasobjectThe certificate's AIA
policiesarray of objectauthorityKeyIdentifierstringThe certificate AKI
unsupportedExtensionsarray of object -
400 Bad Request
-
403 Forbidden action
-
500 Internal Server error