Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for StaticVerifierFn (0.58 sec)

  1. staging/src/k8s.io/apiserver/pkg/authentication/request/x509/verify_options.go

    limitations under the License.
    */
    
    package x509
    
    import (
    	"crypto/x509"
    	"fmt"
    
    	"k8s.io/client-go/util/cert"
    )
    
    // StaticVerifierFn is a VerifyOptionFunc that always returns the same value.  This allows verify options that cannot change.
    func StaticVerifierFn(opts x509.VerifyOptions) VerifyOptionFunc {
    	return func() (x509.VerifyOptions, bool) {
    		return opts, true
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 07 19:48:24 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509.go

    // VerifyOptions, and converts valid certificate chains into user.Info using the provided UserConversion
    func New(opts x509.VerifyOptions, user UserConversion) *Authenticator {
    	return NewDynamic(StaticVerifierFn(opts), user)
    }
    
    // NewDynamic returns a request.Authenticator that verifies client certificates using the provided
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 18 01:31:22 UTC 2023
    - 10.3K bytes
    - Viewed (0)
Back to top