Documentation ¶
Index ¶
- func BytesBase64(p *[]byte, value []byte) flag.Value
- func BytesFile(p *[]byte, value string) flag.Value
- func BytesHex(p *[]byte, value []byte) flag.Value
- func CertPool(c *x509.CertPool) flag.Value
- func Certificate(c *x509.Certificate) flag.Value
- func Certificates(c *[]*x509.Certificate) flag.Value
- func ECDSAPrivateKey(p *ecdsa.PrivateKey) flag.Value
- func ECDSAPublicKey(p *ecdsa.PublicKey) flag.Value
- func RSAPrivateKey(p *rsa.PrivateKey) flag.Value
- func RSAPublicKey(p *rsa.PublicKey) flag.Value
- func TLSCertificate(c *tls.Certificate) flag.Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesBase64 ¶
BytesBase64 creates and returns a new flag.Value compliant base64 bytes parser.
func Certificate ¶
func Certificate(c *x509.Certificate) flag.Value
Certificate creates and returns a new flag.Value compliant Certificates parser.
func Certificates ¶
func Certificates(c *[]*x509.Certificate) flag.Value
Certificates creates and returns a new flag.Value compliant Certificates parser.
func ECDSAPrivateKey ¶
func ECDSAPrivateKey(p *ecdsa.PrivateKey) flag.Value
ECDSAPrivateKey creates and returns a new flag.Value compliant ECDSA PrivateKey parser.
func ECDSAPublicKey ¶
ECDSAPublicKey creates and returns a new flag.Value compliant ECDSA PublicKey parser.
func RSAPrivateKey ¶
func RSAPrivateKey(p *rsa.PrivateKey) flag.Value
RSAPrivateKey creates and returns a new flag.Value compliant RSA PrivateKey parser.
func RSAPublicKey ¶
RSAPublicKey creates and returns a new flag.Value compliant RSA PublicKey parser.
func TLSCertificate ¶
func TLSCertificate(c *tls.Certificate) flag.Value
TLSCertificate creates and returns a new flag.Value compliant X509KeyPair parser.
Types ¶
This section is empty.