Home | History | Annotate | Download | only in x509

Lines Matching full:nil

33 	return parseECPrivateKey(nil, der)
40 return nil, errors.New("x509: unknown elliptic curve")
56 if _, err := asn1.Unmarshal(der, &privKey); err != nil {
57 return nil, errors.New("x509: failed to parse EC private key: " + err.Error())
60 return nil, fmt.Errorf("x509: unknown EC private key version %d", privKey.Version)
64 if namedCurveOID != nil {
69 if curve == nil {
70 return nil, errors.New("x509: unknown elliptic curve")
75 return nil, errors.New("x509: invalid elliptic curve private key value")
82 return priv, nil