registry/crypto/functions.go
Method CryptoRegistry.GenerateSignedCertificateWithPEMKey
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
cn string,
ips []any,
alternateDNS []any,
daysValid int,
ca Certificate,
Method CryptoRegistry.BuildCustomCertificate
has 6 return statements (exceeds 4 allowed). Open
Open
func (ch *CryptoRegistry) BuildCustomCertificate(b64cert string, b64key string) (Certificate, error) {
crt := Certificate{}
cert, err := base64.StdEncoding.DecodeString(b64cert)
if err != nil {
Method CryptoRegistry.GenerateSignedCertificate
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
cn string,
ips []any,
alternateDNS []any,
daysValid int,
ca Certificate,
Method CryptoRegistry.GenerateSelfSignedCertificateWithPEMKey
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
cn string,
ips []any,
alternateDNS []any,
daysValid int,
privPEM string,