{{define "keystore.html"}}
{{template "base" .}}
{{end}}
{{define "content"}}
{{if .Error}}
{{.Error}}
{{end}}
{{if .Empty}}
{{end}}
{{if .SymmetricKeys}}
| Name |
Format |
Value |
{{range .SymmetricKeys}}
| {{.Name}} |
{{.Format}} |
{{.Value}} |
{{end}}
{{end}}
{{if .AsymmetricKeys}}
| Name |
Algorithm |
Public Key |
{{if (index .AsymmetricKeys 0).PrivateKeyFull}}Private Key | {{end}}
Certificates |
{{range .AsymmetricKeys}}
| {{.Name}} |
{{.Algorithm}} |
{{if .PublicKeyFull}}{{.PublicKeyFull}}{{else}}-{{end}} |
{{if .PrivateKeyFull}}
{{.PrivateKeyFull}} |
{{end}}
{{range $i, $c := .Certificates}}{{if $i}}, {{end}}{{$c}}{{end}} |
{{end}}
{{end}}
{{end}}