mirror of
https://github.com/SSLMate/certspotter.git
synced 2025-06-27 10:15:33 +02:00
Add LogID.Base64URLString
This commit is contained in:
parent
8c26a075c0
commit
97a0e7b2a2
@ -58,3 +58,7 @@ func (id LogID) MarshalText() ([]byte, error) {
|
||||
func (id LogID) Base64String() string {
|
||||
return base64.StdEncoding.EncodeToString(id[:])
|
||||
}
|
||||
|
||||
func (id LogID) Base64URLString() string {
|
||||
return base64.RawURLEncoding.EncodeToString(id[:])
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user