Programmer Reference : Secure Socket Layer (SSL) : SciSslX509Certificate protocols
SciSslX509Certificate protocols
Represents an X509 certificate object stored in OS memory.
Class methods: creation
fromBytes: aStringOrByteArray
Read the X509 Certificate from the PEM or DER encoded data
 
fromBytes: aStringOrByteArray password: aPassword
Read the X509 Certificate from the PEM or DER encoded data
If the data is password protected, then a aPassword will need to be provided
 
fromFile: aFilename
Read the X509 Certificate from the PEM or DER file aFilename and return the instance
 
fromFile: aFilename password: aPassword
Read the X509 Certificate from the PEM or DER file aFilename and return the instance
 
Instance methods
= anSciSslX509Certificate
he Equality of the Sci Certificates is based on the osX509 which it wraps.
 
asDER
Answer this X509 Certificate encoded in DER format as a ByteArray
 
asPEM
Answer this X509 Certificate encoded in PEM format as a String
 
checkPrivateKey: anSciSslPrivateKey
Checks to see if the private key anSciSslPrivateKey is the one corresponding to this certificate.
 
free
Deallocates the memory used for the underlying X509 certificate stored in OS memory. The X509 certificate is an instance of class OSSslX509 in the SciSslOpenSSLInterface subapplication.
Last modified date: 12/02/2016