public static GetCookiesForCustomPolicy ( Protocols protocol, string distributionDomain, |
||
protocol | Protocols | The protocol used to access content using signed cookies. |
distributionDomain | string | The domain name of the distribution. |
privateKey | Your private key file. RSA private key (.pem) are supported. | |
resourcePath | string | The path for the resource. |
keyPairId | string | The key pair id corresponding to the private key file given. |
expiresOn | System.DateTime | The expiration date till which content can be accessed using the generated cookies. |
activeFrom | System.DateTime | The date from which content can be accessed using the generated cookies. |
ipRange | string | The allowed IP address range of the client making the GET request, in CIDR form (e.g. 192.168.0.1/24). |
return |
AmazonCloudFrontCookieSigner::GetCookiesForCustomPolicy ( Protocols protocol, string distributionDomain, TextReader privateKey, string resourcePath, string keyPairId, System.DateTime expiresOn, System.DateTime activeFrom, string ipRange ) : |
|
AmazonCloudFrontCookieSigner::GetCookiesForCustomPolicy ( Protocols protocol, string distributionDomain, TextReader privateKey, string resourcePath, string keyPairId, System.DateTime expiresOn, string ipRange ) : |
|
AmazonCloudFrontCookieSigner::GetCookiesForCustomPolicy ( string resourceUrlOrPath, TextReader privateKey, string keyPairId, System.DateTime expiresOn, System.DateTime activeFrom, string ipRange ) : |