Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CreateCertificate (0.17 sec)

  1. doc/godebug.md

    not used during marshaling. It can be used to marshal these larger OIDs, instead
    of the existing PolicyIdentifiers field, by using the
    [`x509usepolicies` setting.](/pkg/crypto/x509/#CreateCertificate).
    
    
    ### Go 1.21
    
    Go 1.21 made it a run-time error to call `panic` with a nil interface value,
    controlled by the [`panicnil` setting](/pkg/builtin/#panic).
    
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    		} else {
    			template.DNSNames = append(template.DNSNames, h)
    		}
    	}
    
    	template.IsCA = true
    	template.KeyUsage |= x509.KeyUsageCertSign
    
    	derBytes, err := x509.CreateCertificate(crand.Reader, &template, &template, publicKey(priv), priv)
    	if err != nil {
    		return nil, nil, fmt.Errorf("Failed to create certificate: %w", err)
    	}
    
    	certOut := bytes.NewBuffer([]byte{})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg crypto/x509, const TooManyIntermediates InvalidReason
    pkg crypto/x509, const UnknownPublicKeyAlgorithm PublicKeyAlgorithm
    pkg crypto/x509, const UnknownSignatureAlgorithm SignatureAlgorithm
    pkg crypto/x509, func CreateCertificate(io.Reader, *Certificate, *Certificate, interface{}, interface{}) ([]uint8, error)
    pkg crypto/x509, func MarshalPKCS1PrivateKey(*rsa.PrivateKey) []uint8
    pkg crypto/x509, func MarshalPKIXPublicKey(interface{}) ([]uint8, error)
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (2)
Back to top