crash.software
Projects
Pull Requests
Issues
Builds
scan4all
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
scan4all
Files
🤬
Sign In
d3f2fa63
ROOT
/
vendor
/
github.com
/
caddyserver
/
certmagic
/
certificates.go
Search
History
430 lines
|
ISO-8859-1
|
14 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Certificate
tls.Certificate
Names
:
[]string
Tags
:
[]string
ocsp
:
*ocsp.Response
hash
:
string
managed
:
bool
issuerKey
:
string
Empty
()
:
bool
NeedsRenewal
(cfg *Config)
:
bool
Expired
()
:
bool
HasTag
(tag string)
:
bool
currentlyInRenewalWindow
(notBefore, notAfter time.Time, renewalWindowRatio float64)
:
bool
makeCertificate
(certPEMBlock, keyPEMBlock []byte)
:
(Certificate, error)
fillCertFromLeaf
(cert *Certificate, tlsCert tls.Certificate)
:
error
SubjectQualifiesForCert
(subj string)
:
bool
SubjectQualifiesForPublicCert
(subj string)
:
bool
SubjectIsIP
(subj string)
:
bool
SubjectIsInternal
(subj string)
:
bool
MatchWildcard
(subject, wildcard string)
:
bool
*Config
CacheManagedCertificate
(ctx context.Context, domain string)
:
(Certificate, error)
loadManagedCertificate
(ctx context.Context, domain string)
:
(Certificate, error)
CacheUnmanagedCertificatePEMFile
(ctx context.Context, certFile, keyFile string, tags []string)
:
error
CacheUnmanagedTLSCertificate
(ctx context.Context, tlsCert tls.Certificate, tags []string)
:
error
CacheUnmanagedCertificatePEMBytes
(ctx context.Context, certBytes, keyBytes []byte, tags []string)
:
error
managedCertInStorageExpiresSoon
(ctx context.Context, cert Certificate)
:
(bool, error)
reloadManagedCertificate
(ctx context.Context, oldCert Certificate)
:
(Certificate, error)
Config
makeCertificateFromDiskWithOCSP
(ctx context.Context, storage Storage, certFile, keyFile string)
:
(Certificate, error)
makeCertificateWithOCSP
(ctx context.Context, certPEMBlock, keyPEMBlock []byte)
:
(Certificate, error)
All occurrences
Please wait...
Page is in error, reload to recover