Skip to content

GetRevocationStatusRequest

Source code in docs_src/capo_signer/types/get_revocation_status_request.py
class GetRevocationStatusRequest(TypedDict, closed=True):
    signature_timestamp: "capo_signer.types.timestamp.Timestamp"
    """<p>The timestamp of the signature that validates the profile or job.</p>"""
    platform_id: "capo_signer.types.platform_id.PlatformId"
    """<p>The ID of a signing platform. </p>"""
    profile_version_arn: "capo_signer.types.arn.Arn"
    """<p>The version of a signing profile.</p>"""
    job_arn: "capo_signer.types.arn.Arn"
    """<p>The ARN of a signing job.</p>"""
    certificate_hashes: "capo_signer.types.certificate_hashes.CertificateHashes"
    r"""<p>A list of composite signed hashes that identify certificates.</p> <p>A certificate identifier consists of a subject certificate TBS hash (signed by the parent CA) combined with a parent CA TBS hash (signed by the parent CA’s CA). Root certificates are defined as their own CA.</p> <p>The following example shows how to calculate a hash for this parameter using OpenSSL commands: </p> <p> <code>openssl asn1parse -in childCert.pem -strparse 4 -out childCert.tbs</code> </p> <p> <code>openssl sha384 < childCert.tbs -binary > childCertTbsHash</code> </p> <p> <code>openssl asn1parse -in parentCert.pem -strparse 4 -out parentCert.tbs</code> </p> <p> <code>openssl sha384 < parentCert.tbs -binary > parentCertTbsHash xxd -p childCertTbsHash > certificateHash.hex xxd -p parentCertTbsHash >> certificateHash.hex</code> </p> <p> <code>cat certificateHash.hex | tr -d '\n'</code> </p>"""

certificate_hashes instance-attribute

certificate_hashes: CertificateHashes

A list of composite signed hashes that identify certificates.

A certificate identifier consists of a subject certificate TBS hash (signed by the parent CA) combined with a parent CA TBS hash (signed by the parent CA’s CA). Root certificates are defined as their own CA.

The following example shows how to calculate a hash for this parameter using OpenSSL commands:

openssl asn1parse -in childCert.pem -strparse 4 -out childCert.tbs

openssl sha384 < childCert.tbs -binary > childCertTbsHash

openssl asn1parse -in parentCert.pem -strparse 4 -out parentCert.tbs

openssl sha384 < parentCert.tbs -binary > parentCertTbsHash xxd -p childCertTbsHash > certificateHash.hex xxd -p parentCertTbsHash >> certificateHash.hex

cat certificateHash.hex | tr -d '\n'

job_arn instance-attribute

job_arn: Arn

The ARN of a signing job.

platform_id instance-attribute

platform_id: PlatformId

The ID of a signing platform.

profile_version_arn instance-attribute

profile_version_arn: Arn

The version of a signing profile.

signature_timestamp instance-attribute

signature_timestamp: Timestamp

The timestamp of the signature that validates the profile or job.