(derBytes []byte)
| 498 | } |
| 499 | |
| 500 | func encodePrivateKey(derBytes []byte) []byte { |
| 501 | return pem.EncodeToMemory(&pem.Block{Type: ecPrivateKeyPEMBlockType, Bytes: derBytes}) |
| 502 | } |
| 503 | |
| 504 | func getCertificateDuration() time.Duration { |
| 505 | duration := configuration.Current.CertificateDuration |
no outgoing calls
no test coverage detected