Code example for X509Certificate

Methods: getEncoded

0
     * @throws CertificateEncodingException if there is a problem extracting the certificate information. 
     */ 
    public JcaX509CertificateHolder(X509Certificate cert)
        throws CertificateEncodingException 
    { 
        super(Certificate.getInstance(cert.getEncoded()));
    } 
}