public class KeyUtil extends Object
| Constructor and Description |
|---|
KeyUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
encodeAsString(Certificate certificate)
Base64 encode the certificate
|
static Element |
getKeyInfo(Certificate certificate)
Given a certificate, build a keyinfo type
|
public static String encodeAsString(Certificate certificate) throws CertificateEncodingException
certificate - CertificateEncodingExceptionpublic static Element getKeyInfo(Certificate certificate) throws CertificateException, org.picketlink.common.exceptions.ConfigurationException, org.picketlink.common.exceptions.ParsingException, org.picketlink.common.exceptions.ProcessingException
certificate - CertificateExceptionorg.picketlink.common.exceptions.ProcessingExceptionorg.picketlink.common.exceptions.ParsingExceptionorg.picketlink.common.exceptions.ConfigurationExceptionCopyright © 2013 JBoss Inc.. All Rights Reserved.