Skip to Content.
Sympa Menu

mace-opensaml-users - Re: how to generate X509Certificate

Subject: OpenSAML user discussion

List archive

Re: how to generate X509Certificate


Chronological Thread 
  • From:
  • To:
  • Subject: Re: how to generate X509Certificate
  • Date: Wed, 10 Oct 2007 11:32:15 -0400 (EDT)

Here is the solution

Thanks to Denis


import org.apache.commons.codec.binary.Base64;

String encodedcert = new String(Base64.encodeBase64(x509Cert.getEncoded()));
System.out.println("encoded certificate = " + encodedcert);




Archive powered by MHonArc 2.6.16.

Top of Page