diff --git a/cttypes/logid.go b/cttypes/logid.go index 9541646..5df8c7b 100644 --- a/cttypes/logid.go +++ b/cttypes/logid.go @@ -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[:]) +}