parse_pubkey: Parse public key

Description Usage Arguments Examples

Description

Parse public key

Usage

1
2
3

Arguments

path

Path to load public key file from

type

Type of public key ("ssh" or "ssl"). If omitted, will attempt to guess from contents of key.

key

Key as a string

Examples

1
2
parse_pubkey("~/.ssh/id_rsa.pub")
parse_pubkey("~/.ssh/id_rsa.pem")

hadley/secure documentation built on May 17, 2019, 12:46 p.m.