X509Certificate2Wrapper

Inheritance: java.lang.Object

public class X509Certificate2Wrapper

JAVA-added public wrapper around ours internal X509Certificate2. Needed to smoothly emulate .Net api and simplify java user code. Ideally we have to use java.security.cert.X509Certificate instead this but we still didn’t manage to get private key from java X509Certificate - may be fix later.

Constructors

ConstructorDescription
X509Certificate2Wrapper(String fileName, String password)Initializes a new instance of this class.

Methods

MethodDescription
getJavaCertificateInfo()Java certificate is used to get generic certificate info: notBefore, notAfter, etc.

X509Certificate2Wrapper(String fileName, String password)

public X509Certificate2Wrapper(String fileName, String password)

Initializes a new instance of this class.

Parameters:

ParameterTypeDescription
fileNamejava.lang.String
passwordjava.lang.String

getJavaCertificateInfo()

public X509Certificate getJavaCertificateInfo()

Java certificate is used to get generic certificate info: notBefore, notAfter, etc.

Returns: java.security.cert.X509Certificate