Interface GetRevocationStatusRequest.Builder

    • Method Detail

      • signatureTimestamp

        GetRevocationStatusRequest.Builder signatureTimestamp​(Instant signatureTimestamp)

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

        Parameters:
        signatureTimestamp - The timestamp of the signature that validates the profile or job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • platformId

        GetRevocationStatusRequest.Builder platformId​(String platformId)

        The ID of a signing platform.

        Parameters:
        platformId - The ID of a signing platform.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • profileVersionArn

        GetRevocationStatusRequest.Builder profileVersionArn​(String profileVersionArn)

        The version of a signing profile.

        Parameters:
        profileVersionArn - The version of a signing profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobArn

        GetRevocationStatusRequest.Builder jobArn​(String jobArn)

        The ARN of a signing job.

        Parameters:
        jobArn - The ARN of a signing job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • certificateHashes

        GetRevocationStatusRequest.Builder certificateHashes​(Collection<String> 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'

        Parameters:
        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'

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • certificateHashes

        GetRevocationStatusRequest.Builder certificateHashes​(String... 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'

        Parameters:
        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'

        Returns:
        Returns a reference to this object so that method calls can be chained together.