Interface GetRevocationStatusRequest.Builder

  • Method Details

    • 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

      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

      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.
    • overrideConfiguration

      GetRevocationStatusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.