Documentation ¶
Index ¶
- func AlgoStrTOAlgoEnum(methodstr string) (jwt_pb.EncryptionAlgorithm, error)
- func IsAsymmetric(method jwt_pb.EncryptionAlgorithm) bool
- func IsEdDSA(method jwt_pb.EncryptionAlgorithm) bool
- func IsEs(method jwt_pb.EncryptionAlgorithm) bool
- func IsRs(method jwt_pb.EncryptionAlgorithm) bool
- func IsSymmetric(method jwt_pb.EncryptionAlgorithm) bool
- func LoadData(p string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlgoStrTOAlgoEnum ¶
func AlgoStrTOAlgoEnum(methodstr string) (jwt_pb.EncryptionAlgorithm, error)
AlgoStrTOAlgoEnum 加密算法名转化为算法枚举值
func IsAsymmetric ¶
func IsAsymmetric(method jwt_pb.EncryptionAlgorithm) bool
IsAsymmetric 算法在非对称加密支持的算法范围
func IsSymmetric ¶
func IsSymmetric(method jwt_pb.EncryptionAlgorithm) bool
IsSymmetric 算法在对称加密支持的算法范围
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.