forked from TrueCloudLab/certificates
Fix typos.
This commit is contained in:
parent
b487edbd13
commit
f6cbd9dc88
2 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@ import (
|
||||||
// Scheme is the scheme used in uris.
|
// Scheme is the scheme used in uris.
|
||||||
const Scheme = "pkcs11"
|
const Scheme = "pkcs11"
|
||||||
|
|
||||||
// DefaultRSASize is the number of bits of a new RSA key if not bitsize has been
|
// DefaultRSASize is the number of bits of a new RSA key if no size has been
|
||||||
// specified.
|
// specified.
|
||||||
const DefaultRSASize = 3072
|
const DefaultRSASize = 3072
|
||||||
|
|
||||||
|
|
|
@ -83,7 +83,7 @@ func ParseWithScheme(scheme, rawuri string) (*URI, error) {
|
||||||
return u, nil
|
return u, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get returns the first value in the uri with the give n key, it will return
|
// Get returns the first value in the uri with the given key, it will return
|
||||||
// empty string if that field is not present.
|
// empty string if that field is not present.
|
||||||
func (u *URI) Get(key string) string {
|
func (u *URI) Get(key string) string {
|
||||||
v := u.Values.Get(key)
|
v := u.Values.Get(key)
|
||||||
|
@ -93,7 +93,7 @@ func (u *URI) Get(key string) string {
|
||||||
return v
|
return v
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetEncoded returns the first value in the uri with the give n key, it will
|
// GetEncoded returns the first value in the uri with the given key, it will
|
||||||
// return empty nil if that field is not present or is empty. If the return
|
// return empty nil if that field is not present or is empty. If the return
|
||||||
// value is hex encoded it will decode it and return it.
|
// value is hex encoded it will decode it and return it.
|
||||||
func (u *URI) GetEncoded(key string) []byte {
|
func (u *URI) GetEncoded(key string) []byte {
|
||||||
|
|
Loading…
Reference in a new issue