C# 클래스 Minio.PostPolicy

파일 보기 프로젝트 열기: minio/minio-dotnet 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

Base64() 공개 메소드

Compute base64 encoded form of JSON policy.
public Base64 ( ) : string
리턴 string

GetFormData() 공개 메소드

Get the populated dictionary of policy data.
public GetFormData ( ) : string>.Dictionary
리턴 string>.Dictionary

IsBucketSet() 공개 메소드

Verify if bucket is set in policy.
public IsBucketSet ( ) : bool
리턴 bool

IsExpirationSet() 공개 메소드

Verify if expiration is set in policy.
public IsExpirationSet ( ) : bool
리턴 bool

IsKeySet() 공개 메소드

Verify if key is set in policy.
public IsKeySet ( ) : bool
리턴 bool

SetAlgorithm() 공개 메소드

Set signature algorithm policy.
public SetAlgorithm ( string algorithm ) : void
algorithm string Set signature algorithm used for the policy
리턴 void

SetBucket() 공개 메소드

Set bucket policy.
public SetBucket ( string bucket ) : void
bucket string
리턴 void

SetCredential() 공개 메소드

Set credential policy.
public SetCredential ( string credential ) : void
credential string Set credential string for the policy
리턴 void

SetDate() 공개 메소드

Set date policy.
public SetDate ( System.DateTime date ) : void
date System.DateTime Set date for the policy
리턴 void

SetExpires() 공개 메소드

Set expiration policy.
public SetExpires ( System.DateTime expiration ) : void
expiration System.DateTime Expiration time for the policy
리턴 void

SetKey() 공개 메소드

Set key policy.
public SetKey ( string key ) : void
key string
리턴 void

SetKeyStartsWith() 공개 메소드

Set key prefix policy.
public SetKeyStartsWith ( string keyStartsWith ) : void
keyStartsWith string
리턴 void

SetPolicy() 공개 메소드

Set base64 encoded policy to form dictionary.
public SetPolicy ( string policyBase64 ) : void
policyBase64 string
리턴 void

SetSignature() 공개 메소드

Set computed signature for the policy to form dictionary.
public SetSignature ( string signature ) : void
signature string Computed signature
리턴 void

SetcontentType() 공개 메소드

Set content type policy.
public SetcontentType ( string contentType ) : void
contentType string
리턴 void