Method | Description | |
---|---|---|
GetCookiesForCannedPolicy ( Protocols protocol, string distributionDomain, |
Returns signed cookies that grants universal access to private content until a given date.
|
|
GetCookiesForCannedPolicy ( Protocols protocol, string distributionDomain, TextReader privateKey, string resourcePath, string keyPairId, System.DateTime expiresOn ) : |
Returns signed cookies that grants universal access to private content until a given date.
|
|
GetCookiesForCannedPolicy ( string resourceUrlOrPath, string keyPairId, |
Generate signed cookies that allows access to a specific distribution and resource path by applying a access restrictions from a "canned" (simplified) policy document.
|
|
GetCookiesForCannedPolicy ( string resourceUrlOrPath, string keyPairId, TextReader privateKey, System.DateTime expiresOn ) : |
Generate signed cookies that allows access to a specific distribution and resource path by applying a access restrictions from a "canned" (simplified) policy document.
|
|
GetCookiesForCustomPolicy ( Protocols protocol, string distributionDomain, |
Returns signed cookies that provides tailored access to private content based on an access time window and an ip range.
|
|
GetCookiesForCustomPolicy ( Protocols protocol, string distributionDomain, TextReader privateKey, string resourcePath, string keyPairId, System.DateTime expiresOn, System.DateTime activeFrom, string ipRange ) : |
Returns signed cookies that provides tailored access to private content based on an access time window and an ip range.
|
|
GetCookiesForCustomPolicy ( Protocols protocol, string distributionDomain, TextReader privateKey, string resourcePath, string keyPairId, System.DateTime expiresOn, string ipRange ) : |
Returns signed cookies that provides tailored access to private content based on an access time window and an ip range.
|
|
GetCookiesForCustomPolicy ( string resourceUrlOrPath, TextReader privateKey, string keyPairId, System.DateTime expiresOn, System.DateTime activeFrom, string ipRange ) : |
Returns signed cookies that provides tailored access to private content based on an access time window and an ip range.
|
Method | Description | |
---|---|---|
GenerateResourcePath ( Protocols protocol, string distributionDomain, string path ) : string |
Returns the resource path for the given distribution, object, and protocol.
|
public static GetCookiesForCannedPolicy ( Protocols protocol, string distributionDomain, |
||
protocol | Protocols | The protocol used to access content using signed cookies. |
distributionDomain | string | The domain name of the distribution. |
privateKey | The 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. |
return |
public static GetCookiesForCannedPolicy ( Protocols protocol, string distributionDomain, TextReader privateKey, string resourcePath, string keyPairId, System.DateTime expiresOn ) : |
||
protocol | Protocols | The protocol used to access content using signed cookies. |
distributionDomain | string | The domain name of the distribution. |
privateKey | TextReader | The 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. |
return |
public static GetCookiesForCannedPolicy ( string resourceUrlOrPath, string keyPairId, |
||
resourceUrlOrPath | string | /// The URL or path that uniquely identifies a resource within a /// distribution. For standard distributions the resource URL will /// be "http://" + distributionName + "/" + path /// (may also include URL parameters. For distributions with the /// HTTPS required protocol, the resource URL must start with /// "https://". RTMP resources do not take the form of a /// URL, and instead the resource path is nothing but the stream's /// name. /// |
keyPairId | string | Identifier of a public/private certificate keypair already configured in your Amazon Web Services account. |
privateKey | The RSA private key data that corresponding to the certificate keypair identified by keyPairId. | |
expiresOn | System.DateTime | The expiration date till which content can be accessed using the generated cookies. |
return |
public static GetCookiesForCannedPolicy ( string resourceUrlOrPath, string keyPairId, TextReader privateKey, System.DateTime expiresOn ) : |
||
resourceUrlOrPath | string | /// The URL or path that uniquely identifies a resource within a /// distribution. For standard distributions the resource URL will /// be "http://" + distributionName + "/" + path /// (may also include URL parameters. For distributions with the /// HTTPS required protocol, the resource URL must start with /// "https://". RTMP resources do not take the form of a /// URL, and instead the resource path is nothing but the stream's /// name. /// |
keyPairId | string | Identifier of a public/private certificate keypair already configured in your Amazon Web Services account. |
privateKey | TextReader | The RSA private key data that corresponding to the certificate keypair identified by keyPairId. |
expiresOn | System.DateTime | The expiration date till which content can be accessed using the generated cookies. |
return |
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 |
public static GetCookiesForCustomPolicy ( Protocols protocol, string distributionDomain, TextReader privateKey, string resourcePath, string keyPairId, System.DateTime expiresOn, System.DateTime activeFrom, string ipRange ) : |
||
protocol | Protocols | The protocol used to access content using signed cookies. |
distributionDomain | string | The domain name of the distribution. |
privateKey | TextReader | 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 |
public static GetCookiesForCustomPolicy ( Protocols protocol, string distributionDomain, TextReader privateKey, string resourcePath, string keyPairId, System.DateTime expiresOn, string ipRange ) : |
||
protocol | Protocols | The protocol used to access content using signed cookies. |
distributionDomain | string | The domain name of the distribution. |
privateKey | TextReader | 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. |
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 |
public static GetCookiesForCustomPolicy ( string resourceUrlOrPath, TextReader privateKey, string keyPairId, System.DateTime expiresOn, System.DateTime activeFrom, string ipRange ) : |
||
resourceUrlOrPath | string | /// The URL or path for resource within a distribution. /// |
privateKey | TextReader | Your private key file. RSA private key (.pem) are supported. |
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 |