code: func ParsePublicKey(in []byte) (out PublicKey, err error) {
  	algo, in, ok := parseString(in)
  	if !ok {
  		return nil, errShortRead
  	}
  	var rest []byte
  	out, rest, err = parsePubKey(in, string(algo))
  	if len(rest) > 0 {
  		return nil, errors.New("ssh: trailing junk in public key")
  	}
  
  	return out, err
  }
docs: // ParsePublicKey parses an SSH public key formatted for use in
  // the SSH wire protocol according to RFC 4253, section 6.6.