Package | Description |
---|---|
com.amazonaws.services.cloudfront |
|
com.amazonaws.services.cloudfront.util |
Modifier and Type | Method and Description |
---|---|
static CloudFrontCookieSigner.CookiesForCannedPolicy |
CloudFrontCookieSigner.getCookiesForCannedPolicy(SignerUtils.Protocol protocol,
String distributionDomain,
File privateKeyFile,
String resourcePath,
String keyPairId,
Date expiresOn)
Returns signed cookies that grants universal access to private content until a given date.
|
static CloudFrontCookieSigner.CookiesForCannedPolicy |
CloudFrontCookieSigner.getCookiesForCannedPolicy(SignerUtils.Protocol protocol,
String distributionDomain,
PrivateKey privateKey,
String resourcePath,
String keyPairId,
Date expiresOn)
Returns signed cookies that grants universal access to private content until a given date.
|
static CloudFrontCookieSigner.CookiesForCustomPolicy |
CloudFrontCookieSigner.getCookiesForCustomPolicy(SignerUtils.Protocol protocol,
String distributionDomain,
File privateKeyFile,
String resourcePath,
String keyPairId,
Date expiresOn,
Date activeFrom,
String ipRange)
Returns signed cookies that provides tailored access to private content based on an access time window and an ip range.
|
static CloudFrontCookieSigner.CookiesForCustomPolicy |
CloudFrontCookieSigner.getCookiesForCustomPolicy(SignerUtils.Protocol protocol,
String distributionDomain,
PrivateKey privateKey,
String resourcePath,
String keyPairId,
Date expiresOn,
Date activeFrom,
String ipRange)
Returns signed cookies that provides tailored access to private content based on an access time window and an ip range.
|
static CloudFrontCookieSigner.CookiesForCustomPolicy |
CloudFrontCookieSigner.getCookiesForCustomPolicy(SignerUtils.Protocol protocol,
String distributionDomain,
PrivateKey privateKey,
String resourcePath,
String keyPairId,
Date expiresOn,
String ipRange)
Returns signed cookies that provides tailored access to private content based on an access time window and an ip range.
|
static String |
CloudFrontUrlSigner.getSignedURLWithCannedPolicy(SignerUtils.Protocol protocol,
String distributionDomain,
File privateKeyFile,
String s3ObjectKey,
String keyPairId,
Date dateLessThan)
Returns a signed URL with a canned policy that grants universal access to
private content until a given date.
|
static String |
CloudFrontUrlSigner.getSignedURLWithCustomPolicy(SignerUtils.Protocol protocol,
String distributionDomain,
File privateKeyFile,
String s3ObjectKey,
String keyPairId,
Date dateLessThan,
Date dateGreaterThan,
String ipRange)
Returns a signed URL that provides tailored access to private content
based on an access time window and an ip range.
|
Modifier and Type | Method and Description |
---|---|
static SignerUtils.Protocol |
SignerUtils.Protocol.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SignerUtils.Protocol[] |
SignerUtils.Protocol.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static String |
SignerUtils.generateResourcePath(SignerUtils.Protocol protocol,
String distributionDomain,
String resourcePath)
Returns the resource path for the given distribution, object, and
protocol.
|
Copyright © 2019. All rights reserved.