Description

FromPemBytes loads a PEM certificate from an in memory byte array and returns a tls.Certificate. This function is similar to the crypto/tls X509KeyPair function, however it supports PEM files with the cert and key combined, as well as password protected keys which are both common with APNs certificates.

Use "" as the password argument if the PEM certificate is not password protected.

FromPemBytes is referenced in 1 repository

github.com/sideshow/apns2