C# Class NeoSmart.Web.CloudFront

Afficher le fichier Open project: neosmart/web

Méthodes publiques

Méthode Description
GetExpiringLink ( string domainName, string objectName, System.DateTime expiresTime, System.TimeSpan maxAge = null, bool secure = false ) : string
GetExpiringLink ( string domainName, string objectName, System.TimeSpan expires, System.TimeSpan maxAge = null, bool secure = false ) : string
SetCredentials ( string keyPairId, string rsaXml ) : void

Private Methods

Méthode Description
GetSignature ( string toSign ) : byte[]
ToUrlSafeBase64String ( byte input ) : string

Method Details

GetExpiringLink() public static méthode

public static GetExpiringLink ( string domainName, string objectName, System.DateTime expiresTime, System.TimeSpan maxAge = null, bool secure = false ) : string
domainName string
objectName string
expiresTime System.DateTime
maxAge System.TimeSpan
secure bool
Résultat string

GetExpiringLink() public static méthode

public static GetExpiringLink ( string domainName, string objectName, System.TimeSpan expires, System.TimeSpan maxAge = null, bool secure = false ) : string
domainName string
objectName string
expires System.TimeSpan
maxAge System.TimeSpan
secure bool
Résultat string

SetCredentials() public static méthode

public static SetCredentials ( string keyPairId, string rsaXml ) : void
keyPairId string
rsaXml string
Résultat void