Documentation ¶
Index ¶
- func ECDSAKeyMatches(privateKey *ecdsa.PrivateKey, publicKey *ecdsa.PublicKey) bool
- func ECDSAPublicKeyEqual(a, b *ecdsa.PublicKey) bool
- func JoseAlgFromPublicKey(publicKey interface{}) (jose.SignatureAlgorithm, error)
- func KeyMatches(privateKey crypto.PrivateKey, publicKey crypto.PublicKey) (bool, error)
- func PublicKeyEqual(a, b crypto.PublicKey) (bool, error)
- func RSAKeyMatches(privateKey *rsa.PrivateKey, publicKey *rsa.PublicKey) bool
- func RSAPublicKeyEqual(a, b *rsa.PublicKey) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ECDSAKeyMatches ¶
func ECDSAKeyMatches(privateKey *ecdsa.PrivateKey, publicKey *ecdsa.PublicKey) bool
func ECDSAPublicKeyEqual ¶
func JoseAlgFromPublicKey ¶
func JoseAlgFromPublicKey(publicKey interface{}) (jose.SignatureAlgorithm, error)
func KeyMatches ¶
func RSAKeyMatches ¶
func RSAKeyMatches(privateKey *rsa.PrivateKey, publicKey *rsa.PublicKey) bool
func RSAPublicKeyEqual ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.