(derBytes []byte)
| 494 | } |
| 495 | |
| 496 | func encodeCertificate(derBytes []byte) []byte { |
| 497 | return pem.EncodeToMemory(&pem.Block{Type: "CERTIFICATE", Bytes: derBytes}) |
| 498 | } |
| 499 | |
| 500 | func encodePrivateKey(derBytes []byte) []byte { |
| 501 | return pem.EncodeToMemory(&pem.Block{Type: ecPrivateKeyPEMBlockType, Bytes: derBytes}) |
no outgoing calls
no test coverage detected