Package org.apache.cxf.xkms.x509.utils
Class X509Utils
- java.lang.Object
-
- org.apache.cxf.xkms.x509.utils.X509Utils
-
public final class X509Utils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static QName
X509_CERTIFICATE
static QName
X509_DATA
static QName
X509_ISSUER_SERIAL
static QName
X509_KEY_NAME
static QName
X509_SUBJECT_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
assertElementNotNull(Object element, Class<?> elementClass)
static org.apache.cxf.xkms.model.xmldsig.KeyInfoType
getKeyInfo(X509Certificate cert)
static org.apache.cxf.xkms.model.xkms.UnverifiedKeyBindingType
getUnverifiedKeyBinding(X509Certificate cert)
static void
parseX509Data(org.apache.cxf.xkms.model.xmldsig.X509DataType x509Data, List<X509Certificate> certs)
-
-
-
Method Detail
-
parseX509Data
public static void parseX509Data(org.apache.cxf.xkms.model.xmldsig.X509DataType x509Data, List<X509Certificate> certs) throws CertificateException
- Throws:
CertificateException
-
getUnverifiedKeyBinding
public static org.apache.cxf.xkms.model.xkms.UnverifiedKeyBindingType getUnverifiedKeyBinding(X509Certificate cert) throws CertificateEncodingException
- Throws:
CertificateEncodingException
-
getKeyInfo
public static org.apache.cxf.xkms.model.xmldsig.KeyInfoType getKeyInfo(X509Certificate cert) throws CertificateEncodingException
- Throws:
CertificateEncodingException
-
-