PEM formatted string
Optional
sHead: stringPEM header string without BEGIN/END
Base64 string
This static method gets a Base64 string of contents from PEM format data.
pemtob64("-----BEGIN CERTIFICATE...", "CERTIFICATE") -> "MIIBvTCC..."
pemtob64("-----BEGIN CERTIFICATE...") -> "MIIBvTCC..."
get Base64 string from PEM format data