View definition

func FromP12File(filename string, password string) (Certificate, error)

Defined in github.com/sideshow/apns2/certificate/certificate.go

Description

FromP12File loads a PKCS#12 certificate from a local file and returns a tls.Certificate.

Use “” as the password argument if the pem certificate is not password protected.