Provide getter for native certificate instance
@@ -197,6 +197,11 @@ public TlsVerifier createVerifier(int signatureScheme) throws IOException
}
}
+ public Certificate getCertificate()
+ {
+ return certificate;
+ }
+
public byte[] getEncoded() throws IOException
{
return certificate.getEncoded(ASN1Encoding.DER);
