메소드 | 설명 | |
---|---|---|
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 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 SetSignature ( string signature ) : void | ||
signature | string | Computed signature |
리턴 | void |
public SetcontentType ( string contentType ) : void | ||
contentType | string | |
리턴 | void |