Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DecodeString (0.07 sec)

  1. cmd/site-replication.go

    	}
    
    	if item.Versioning != nil {
    		configData, err := base64.StdEncoding.DecodeString(*item.Versioning)
    		if err != nil {
    			return wrapSRErr(err)
    		}
    		meta.VersioningConfigXML = configData
    		meta.VersioningConfigUpdatedAt = item.UpdatedAt
    	}
    
    	if item.Tags != nil {
    		configData, err := base64.StdEncoding.DecodeString(*item.Tags)
    		if err != nil {
    			return wrapSRErr(err)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    		return
    	}
    
    	var publicKey *rsa.PublicKey
    
    	publicKeyB64 := r.Form.Get("public-key")
    	if publicKeyB64 != "" {
    		publicKeyBytes, err := base64.StdEncoding.DecodeString(publicKeyB64)
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    		publicKey, err = bytesToPublicKey(publicKeyBytes)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top