Secure Socket Layer (SSL) : SciSslPrivateKey protocols

SciSslPrivateKey protocols
Represents an RSA Private Key object stored in OS memory.
Class methods: creation
fromBytes: aStringOrByteArray
Read the Private/Public key from a DER or PEM encoded data
 
fromBytes: aStringOrByteArray password: aPassword
Read the Private/Public key from a DER or PEM encoded data
If the data is password protected, then a
aPassword will need to be provided
 
fromFile: aFilename
Answer the new Private Key read in from the PEM or DER file named aFilename
 
fromFile: aFilename password: aPassword
Read the X509 Certificate from the PEM or DER file aFilename and return the instance
Instance methods
= anSciSslPrivateKey
The Equality of the Sci Certificates is based on the osPrivateKey which it wraps
 
asDER
Answer this Private Key encoded in DER format as a ByteArray
 
asPEM
Answer this Private Key encoded in PEM format as a String
 
free
Deallocates the memory used for the underlying Private Key stored in OS memory. The Private Key is an instance of class OSSslPkey in the OpenSSLCryptoInterfacePKEY subapplication.