Returns a signed URL that grants universal access to private content until a given date.
Declaration Syntax
C# |
public static string GetCannedSignedURL( AmazonCloudFrontUrlSigner..::..Protocol protocol, string distributionDomain, StreamReader privateKey, string s3ObjectKey, string keyPairId, DateTime dateLessThan )
Parameters
- protocol (AmazonCloudFrontUrlSigner..::..Protocol)
- The protocol of the URL
- distributionDomain (String)
- The domain name of the distribution
- privateKey (StreamReader)
- The private key file. RSA private key (.pem) are supported.
- s3ObjectKey (String)
- The s3 key of the object, or the name of the stream for rtmp
- keyPairId (String)
- The key pair id corresponding to the private key file given
- dateLessThan (DateTime)
- The expiration date of the signed URL
Return Value
The signed URL.