Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ParsePKCS1PrivateKey (0.12 sec)

  1. docs/debugging/inspect/utils.go

    	// Try PEM
    	if block, _ := pem.Decode(priv); block != nil {
    		return x509.ParsePKCS1PrivateKey(block.Bytes)
    	}
    	// Try base 64
    	dst := make([]byte, base64.StdEncoding.DecodedLen(len(priv)))
    	if n, err := base64.StdEncoding.Decode(dst, priv); err == nil {
    		return x509.ParsePKCS1PrivateKey(dst[:n])
    	}
    	// Try Raw, return error
    	return x509.ParsePKCS1PrivateKey(priv)
    }
    
    func fatalErr(err error) {
    	if err == nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Nov 02 20:36:38 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. api/go1.txt

    pkg crypto/x509, func ParseCertificates([]uint8) ([]*Certificate, error)
    pkg crypto/x509, func ParseDERCRL([]uint8) (*pkix.CertificateList, error)
    pkg crypto/x509, func ParsePKCS1PrivateKey([]uint8) (*rsa.PrivateKey, error)
    pkg crypto/x509, func ParsePKCS8PrivateKey([]uint8) (interface{}, error)
    pkg crypto/x509, func ParsePKIXPublicKey([]uint8) (interface{}, 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