Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalXMLPrivateKey ¶
func MarshalXMLPrivateKey(key *rsa.PrivateKey) ([]byte, error)
func ParseXMLPrivateKey ¶
func ParseXMLPrivateKey(der []byte) (*rsa.PrivateKey, error)
Types ¶
type XMLKey ¶
type XMLKey struct{}
*
- rsa xml密钥 *
- @create 2023-4-10
- @author deatil
func (XMLKey) MarshalPrivateKey ¶
func (this XMLKey) MarshalPrivateKey(key *rsa.PrivateKey) ([]byte, error)
包装私钥
func (XMLKey) MarshalPublicKey ¶
包装公钥
func (XMLKey) ParsePrivateKey ¶
func (this XMLKey) ParsePrivateKey(der []byte) (*rsa.PrivateKey, error)
解析私钥
Click to show internal directories.
Click to hide internal directories.