Interface CloudFrontSignerRequest
- All Known Implementing Classes:
CannedSignerRequest
,CustomSignerRequest
Base interface class for requests to generate a CloudFront signed URL or signed cookie
-
Method Summary
Modifier and TypeMethodDescriptionReturns the expiration date, after which users will no longer be able to use the signed URL/cookie to access your private contentReturns 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 signatureReturns the private key used to generate the signatureReturns 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
-