Метод | Описание | |
---|---|---|
Base64 ( ) : string |
Compute base64 encoded form of JSON policy.
|
|
GetFormData ( ) : string>.Dictionary |
Get the populated dictionary of policy data.
|
|
IsBucketSet ( ) : bool |
Verify if bucket is set in policy.
|
|
IsExpirationSet ( ) : bool |
Verify if expiration is set in policy.
|
|
IsKeySet ( ) : bool |
Verify if key is set in policy.
|
|
SetAlgorithm ( string algorithm ) : void |
Set signature algorithm policy.
|
|
SetBucket ( string bucket ) : void |
Set bucket policy.
|
|
SetCredential ( string credential ) : void |
Set credential policy.
|
|
SetDate ( System.DateTime date ) : void |
Set date policy.
|
|
SetExpires ( System.DateTime expiration ) : void |
Set expiration policy.
|
|
SetKey ( string key ) : void |
Set key policy.
|
|
SetKeyStartsWith ( string keyStartsWith ) : void |
Set key prefix policy.
|
|
SetPolicy ( string policyBase64 ) : void |
Set base64 encoded policy to form dictionary.
|
|
SetSignature ( string signature ) : void |
Set computed signature for the policy to form dictionary.
|
|
SetcontentType ( string contentType ) : void |
Set content type policy.
|
Метод | Описание | |
---|---|---|
marshalJSON ( ) : byte[] |
Serialize policy into JSON string.
|
public GetFormData ( ) : string>.Dictionary |
||
Результат | string>.Dictionary |
public SetAlgorithm ( string algorithm ) : void | ||
algorithm | string | Set signature algorithm used for the policy |
Результат | void |
public SetCredential ( string credential ) : void | ||
credential | string | Set credential string for the policy |
Результат | void |
public SetDate ( System.DateTime date ) : void | ||
date | System.DateTime | Set date for the policy |
Результат | void |
public SetExpires ( System.DateTime expiration ) : void | ||
expiration | System.DateTime | Expiration time for the policy |
Результат | void |
public SetKeyStartsWith ( string keyStartsWith ) : void | ||
keyStartsWith | string | |
Результат | void |
public SetPolicy ( string policyBase64 ) : void | ||
policyBase64 | string | |
Результат | void |
public SetSignature ( string signature ) : void | ||
signature | string | Computed signature |
Результат | void |
public SetcontentType ( string contentType ) : void | ||
contentType | string | |
Результат | void |