Extract the certificate and associated private key from a pkcs#12 (file)
Extract the certificate and associated private key from a pkcs#12 (file)
The pkcs#12 file PEM or DER encoded
|
pkcs12
string | string
|
|||||||||
|
|||||||||
-
200 The content of the pkcs#12
application/jsoncertificateobject (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
EnumRFC822NAMEDNSNAMEURIIPADDRESSOTHERNAME_UPNOTHERNAME_GUIDREGISTERED_IDvaluestring requiredThe value of the SAN
]
extensionsarray of objects | null (CertificateExtension)The certificate's extensions
Array [
keystring requiredThe extension's type
Enumms_sidms_templatevaluestring 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]
privateKeystring required -
400 Bad Request
application/problem+jsonerrorstring requiredThe error code of the problem
ValueRFC5280-004messagestring requiredA short, human-readable summary of the problem type
ValueInvalid PKCS#12 or PKCS#12 passwordtitlestring requiredA short, human-readable summary of the problem type. In compliance with RFC7807
ValueInvalid PKCS#12 or PKCS#12 passworddetailstring | 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-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/problem+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