Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 14 of 14 for MarshalText (0.38 seconds)

  1. internal/kms/kms.go

    			return ErrPermission
    		}
    		return errKeyCreationFailed(err)
    	}
    	return nil
    }
    
    func (c *kmsConn) GenerateKey(ctx context.Context, req *GenerateKeyRequest) (DEK, error) {
    	aad, err := req.AssociatedData.MarshalText()
    	if err != nil {
    		return DEK{}, err
    	}
    
    	name := req.Name
    	if name == "" {
    		name = c.defaultKey
    	}
    
    	resp, err := c.client.GenerateKey(ctx, c.enclave, &kms.GenerateKeyRequest{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 24 15:33:57 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  2. internal/crypto/sse-kms.go

    	metadata[MetaIV] = base64.StdEncoding.EncodeToString(sealedKey.IV[:])
    	metadata[MetaSealedKeyKMS] = base64.StdEncoding.EncodeToString(sealedKey.Key[:])
    	if len(ctx) > 0 {
    		b, _ := ctx.MarshalText()
    		metadata[MetaContext] = base64.StdEncoding.EncodeToString(b)
    	}
    	if len(kmsKey) > 0 && keyID != "" { // We use a KMS -> Store key ID and sealed KMS data key.
    		metadata[MetaKeyID] = keyID
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 07 23:55:37 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  3. api/go1.3.txt

    pkg encoding/asn1, method (ObjectIdentifier) String() string
    pkg go/build, type Package struct, MFiles []string
    pkg math/big, method (*Int) MarshalText() ([]uint8, error)
    pkg math/big, method (*Int) UnmarshalText([]uint8) error
    pkg math/big, method (*Rat) MarshalText() ([]uint8, error)
    pkg math/big, method (*Rat) UnmarshalText([]uint8) error
    pkg net, type Dialer struct, KeepAlive time.Duration
    pkg net/http, const StateActive = 1
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Click Count (0)
  4. api/go1.2.txt

    pkg encoding, type BinaryUnmarshaler interface { UnmarshalBinary }
    pkg encoding, type BinaryUnmarshaler interface, UnmarshalBinary([]uint8) error
    pkg encoding, type TextMarshaler interface { MarshalText }
    pkg encoding, type TextMarshaler interface, MarshalText() ([]uint8, error)
    pkg encoding, type TextUnmarshaler interface { UnmarshalText }
    pkg encoding, type TextUnmarshaler interface, UnmarshalText([]uint8) error
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Click Count (1)
Back to Top