// PrivateKeyFromFile private key from file.
PrivateKeyFromFile private key from file.
// PrivateKeyFromFile private key from file .
func PrivateKeyFromFile(file string, password []byte) (crypto.PrivateKey, error) {
	keyBytes, err := ioutil.ReadFile(filepath.Clean(file))
	if err != nil {
		return nil, err
	}
	return PrivateKeyFromPEM(keyBytes, password)
}
func PrivateKeyFromFile ( file string , password [ ] byte ) ( crypto . PrivateKey , error ) { keyBytes , err := ioutil . ReadFile ( filepath . Clean ( file ) ) if err != nil { return nil , err } return PrivateKeyFromPEM ( keyBytes , password ) }
PrivateKeyFromFile private key from file.
PrivateKeyFromFile private key from file .