Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ParseCertificate (0.12 sec)

  1. misc/ios/detect.go

    		out := output(parseMobileProvision(mp))
    		_, err = f.Write(out)
    		check(err)
    		check(f.Close())
    
    		cert, err := plistExtract(fname, "DeveloperCertificates:0")
    		check(err)
    		pcert, err := x509.ParseCertificate(cert)
    		check(err)
    		fmt.Printf("export GOIOS_DEV_ID=\"%s\"\n", pcert.Subject.CommonName)
    
    		appID, err := plistExtract(fname, "Entitlements:application-identifier")
    		check(err)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 19 23:33:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/compare/sds/util.go

    	block, _ := pem.Decode(rawCert)
    	if block == nil {
    		return SecretMeta{}, fmt.Errorf("failed to parse certificate PEM")
    	}
    	cert, err := x509.ParseCertificate(block.Bytes)
    	if err != nil {
    		return SecretMeta{}, err
    	}
    	var certType string
    	if cert.IsCA {
    		certType = "CA"
    	} else {
    		certType = "Cert Chain"
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. internal/config/certs.go

    			return nil, ErrTLSUnexpectedData(nil).Msgf("Could not read PEM block from file %s", certFile)
    		}
    
    		var x509Cert *x509.Certificate
    		if x509Cert, err = x509.ParseCertificate(pemBlock.Bytes); err != nil {
    			return nil, ErrTLSUnexpectedData(nil).Msgf("Failed to parse `%s`: %s", certFile, err.Error())
    		}
    
    		x509Certs = append(x509Certs, x509Cert)
    	}
    
    	if len(x509Certs) == 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. doc/godebug.md

    [`tlskyber` setting](/pkg/crypto/tls/#Config.CurvePreferences).
    
    Go 1.23 changed the behavior of
    [crypto/x509.ParseCertificate](/pkg/crypto/x509/#ParseCertificate) to reject
    serial numbers that are negative. This change can be reverted with
    the [`x509negativeserial` setting](/pkg/crypto/x509/#ParseCertificate).
    
    Go 1.23 re-enabled support in html/template for ECMAScript 6 template literals by default.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 28 14:46:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. api/go1.txt

    pkg crypto/x509, func MarshalPKIXPublicKey(interface{}) ([]uint8, error)
    pkg crypto/x509, func NewCertPool() *CertPool
    pkg crypto/x509, func ParseCRL([]uint8) (*pkix.CertificateList, error)
    pkg crypto/x509, func ParseCertificate([]uint8) (*Certificate, error)
    pkg crypto/x509, func ParseCertificates([]uint8) ([]*Certificate, error)
    pkg crypto/x509, func ParseDERCRL([]uint8) (*pkix.CertificateList, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top