Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 266 for compliant (0.16 sec)

  1. internal/hash/sha256/sh256_fips.go

    //go:build fips
    // +build fips
    
    package sha256
    
    import (
    	fipssha256 "crypto/sha256"
    	"hash"
    )
    
    // New returns a new hash.Hash computing the SHA256 checksum.
    // The SHA256 implementation is FIPS 140-2 compliant when the
    // boringcrypto branch of Go is used.
    // Ref: https://github.com/golang/go/tree/dev.boringcrypto
    func New() hash.Hash { return fipssha256.New() }
    
    // Sum256 returns the SHA256 checksum of the data.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Aug 29 23:57:16 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/transition.go

    	if err != nil {
    		return err
    	}
    	// While AWS documentation mentions that the date specified
    	// must be present in ISO 8601 format, in reality they allow
    	// users to provide RFC 3339 compliant dates.
    	trnDate, err := time.Parse(time.RFC3339, dateStr)
    	if err != nil {
    		return errTransitionInvalidDate
    	}
    	// Allow only date timestamp specifying midnight GMT
    	hr, min, sec := trnDate.Clock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 10 17:07:49 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  3. internal/config/identity/openid/rsa-sha3_contrib.go

    package openid
    
    import (
    	"crypto"
    
    	"github.com/golang-jwt/jwt/v4"
    
    	// Needed for SHA3 to work - See: https://golang.org/src/crypto/crypto.go?s=1034:1288
    	_ "golang.org/x/crypto/sha3" // There is no SHA-3 FIPS-140 2 compliant implementation
    )
    
    // Specific instances for RS256 and company
    var (
    	SigningMethodRS3256 *jwt.SigningMethodRSA
    	SigningMethodRS3384 *jwt.SigningMethodRSA
    	SigningMethodRS3512 *jwt.SigningMethodRSA
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 05 19:20:08 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  4. internal/config/identity/openid/ecdsa-sha3_contrib.go

    package openid
    
    import (
    	"crypto"
    
    	"github.com/golang-jwt/jwt/v4"
    
    	// Needed for SHA3 to work - See: https://golang.org/src/crypto/crypto.go?s=1034:1288
    	_ "golang.org/x/crypto/sha3" // There is no SHA-3 FIPS-140 2 compliant implementation
    )
    
    // Specific instances for EC256 and company
    var (
    	SigningMethodES3256 *jwt.SigningMethodECDSA
    	SigningMethodES3384 *jwt.SigningMethodECDSA
    	SigningMethodES3512 *jwt.SigningMethodECDSA
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 05 19:20:08 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  5. internal/fips/api.go

    // Package fips provides functionality to configure cryptographic
    // implementations compliant with FIPS 140.
    //
    // FIPS 140 [1] is a US standard for data processing that specifies
    // requirements for cryptographic modules. Software that is "FIPS 140
    // compliant" must use approved cryptographic primitives only and that
    // are implemented by a FIPS 140 certified cryptographic module.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 30 19:37:07 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  6. internal/hash/sha256/sh256_nofips.go

    package sha256
    
    import (
    	"hash"
    
    	nofipssha256 "github.com/minio/sha256-simd"
    )
    
    // New returns a new hash.Hash computing the SHA256 checksum.
    // The SHA256 implementation is not FIPS 140-2 compliant.
    func New() hash.Hash { return nofipssha256.New() }
    
    // Sum256 returns the SHA256 checksum of the data.
    func Sum256(data []byte) [nofipssha256.Size]byte { return nofipssha256.Sum256(data) }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Aug 29 23:57:16 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  7. internal/bucket/object/lock/lock.go

    const Enabled = "Enabled"
    
    // RetMode - object retention mode.
    type RetMode string
    
    const (
    	// RetGovernance - governance mode.
    	RetGovernance RetMode = "GOVERNANCE"
    
    	// RetCompliance - compliance mode.
    	RetCompliance RetMode = "COMPLIANCE"
    )
    
    // Valid - returns if retention mode is valid
    func (r RetMode) Valid() bool {
    	switch r {
    	case RetGovernance, RetCompliance:
    		return true
    	}
    	return false
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  8. cmd/encryption-v1.go

    // objects are slightly larger due to encryption overhead.
    // Further, it decrypts all single-part SSE-S3 encrypted objects
    // and formats ETags of SSE-C / SSE-KMS encrypted objects to
    // be AWS S3 compliant.
    //
    // DecryptETags uses a KMS bulk decryption API, if available, which
    // is more efficient than decrypting ETags sequentually.
    func DecryptETags(ctx context.Context, k kms.KMS, objects []ObjectInfo) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/expiration.go

    	if err != nil {
    		return err
    	}
    	// While AWS documentation mentions that the date specified
    	// must be present in ISO 8601 format, in reality they allow
    	// users to provide RFC 3339 compliant dates.
    	expDate, err := time.Parse(time.RFC3339, dateStr)
    	if err != nil {
    		return errLifecycleInvalidDate
    	}
    	// Allow only date timestamp specifying midnight GMT
    	hr, min, sec := expDate.Clock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 6.6K bytes
    - Viewed (1)
  10. istioctl/pkg/analyze/analyze.go

    	analysisCmd.PersistentFlags().BoolVar(&ignoreUnknown, "ignore-unknown", false,
    		"Don't complain about un-parseable input documents, for cases where analyze should run only on k8s compliant inputs.")
    	analysisCmd.PersistentFlags().StringVarP(&revisionSpecified, "revision", "", "default",
    		"analyze a specific revision deployed.")
    	return analysisCmd
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top