added method loadFromByteArray in CertificateLoader class