Interface CloudFrontSignerRequest

All Known Implementing Classes:
CannedSignerRequest, CustomSignerRequest

@Immutable @ThreadSafe public interface CloudFrontSignerRequest
Base interface class for requests to generate a CloudFront signed URL or signed cookie
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the expiration date, after which users will no longer be able to use the signed URL/cookie to access your private content
    Returns the key pair ID, i.e., the public key ID for the CloudFront public key whose corresponding private key you're using to generate the signature
    Returns the private key used to generate the signature
    Returns the resource URL, i.e., the unsigned URL
  • Method Details

    • resourceUrl

      String resourceUrl()
      Returns the resource URL, i.e., the unsigned URL
    • privateKey

      PrivateKey privateKey()
      Returns the private key used to generate the signature
    • keyPairId

      String keyPairId()
      Returns the key pair ID, i.e., the public key ID for the CloudFront public key whose corresponding private key you're using to generate the signature
    • expirationDate

      Instant expirationDate()
      Returns the expiration date, after which users will no longer be able to use the signed URL/cookie to access your private content