Xojo Plugin
Xojo Plugin
Get Certificate Public Key from PEM
See more Certificates Examples
Demonstrates how to load a PEM file containing a certificate and access the public key.Chilkat Xojo Plugin Downloads
Dim success As Boolean
success = False
Dim cert As New Chilkat.Cert
success = cert.LoadFromFile("qa_data/pem/my_cert.pem")
If (success = False) Then
System.DebugLog(cert.LastErrorText)
Return
End If
Dim pubkey As New Chilkat.PublicKey
success = cert.GetPublicKey(pubkey)
// Examine the public key as XML..
System.DebugLog(pubkey.GetXml())