Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MarshalPKCS1PublicKey (0.07 sec)

  1. docs/debugging/inspect/main.go

    	}
    	err = pem.Encode(privatePem, privateKeyBlock)
    	if err != nil {
    		fmt.Printf("error when encode private pem: %s n", err)
    		os.Exit(1)
    	}
    
    	// dump public key to file
    	publicKeyBytes := x509.MarshalPKCS1PublicKey(&privatekey.PublicKey)
    	if err != nil {
    		fmt.Printf("error when dumping publickey: %s n", err)
    		os.Exit(1)
    	}
    	publicKeyBlock := &pem.Block{
    		Type:  "PUBLIC KEY",
    		Bytes: publicKeyBytes,
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 17 17:09:42 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. api/go1.10.txt

    pkg crypto/x509, const TooManyConstraints = 8
    pkg crypto/x509, const TooManyConstraints InvalidReason
    pkg crypto/x509, const UnconstrainedName = 7
    pkg crypto/x509, const UnconstrainedName InvalidReason
    pkg crypto/x509, func MarshalPKCS1PublicKey(*rsa.PublicKey) []uint8
    pkg crypto/x509, func MarshalPKCS8PrivateKey(interface{}) ([]uint8, error)
    pkg crypto/x509, func ParsePKCS1PublicKey([]uint8) (*rsa.PublicKey, error)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Feb 06 05:00:01 UTC 2018
    - 30.1K bytes
    - Viewed (0)
Back to top