Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for DecodeString (0.29 sec)

  1. cmd/batch-rotate.go

    	if e.Type == ssekms && spaces {
    		return crypto.ErrInvalidEncryptionKeyID
    	}
    	if e.Type == ssekms && GlobalKMS != nil {
    		ctx := kms.Context{}
    		if e.Context != "" {
    			b, err := base64.StdEncoding.DecodeString(e.Context)
    			if err != nil {
    				return err
    			}
    
    			json := jsoniter.ConfigCompatibleWithStandardLibrary
    			if err := json.Unmarshal(b, &ctx); err != nil {
    				return err
    			}
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
Back to top