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
- CertificateEncodingException
public static Element getKeyInfo(Certificate certificate) throws CertificateException, ConfigurationException, ParsingException, ProcessingException
certificate
- CertificateException
ProcessingException
ParsingException
ConfigurationException
Copyright © 2021 JBoss by Red Hat. All rights reserved.