container: expose test vectors for easier testing

This commit is contained in:
Michael Muré
2025-01-23 17:10:34 +01:00
parent e218b49577
commit 4c5afcb084
4 changed files with 23 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ func (ctn Writer) ToBase64URLWriter(w io.Writer) error {
}
// ToBase64URL encode the container into pre-gzipped base64 string, with URL-safe encoding and no padding.
func (ctn Writer) ToBase64URLGzip() (string, error) {
func (ctn Writer) ToBase64URLGzipped() (string, error) {
return ctn.toString(headerBase64URLGzip)
}