public final class DOMX509Data extends BaseStructure implements X509Data
RAW_X509_CERTIFICATE_TYPE, TYPE| Constructor and Description |
|---|
DOMX509Data(Element xdElem)
Creates a
DOMX509Data from an element. |
DOMX509Data(List<?> content)
Creates a DOMX509Data.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<Object> |
getContent() |
int |
hashCode() |
static void |
marshal(XmlWriter xwriter,
X509Data x509Data,
String dsPrefix,
XMLCryptoContext context) |
isFeatureSupported, textOfNodeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisFeatureSupportedpublic DOMX509Data(List<?> content)
content - a list of one or more X.509 data types. Valid types are
String (subject names), byte[] (subject key ids),
X509Certificate, X509CRL,
or dsig.XMLStructure
objects or elements from an external namespace). The list is
defensively copied to protect against subsequent modification.NullPointerException - if content is nullIllegalArgumentException - if content is emptyClassCastException - if content contains any entries
that are not of one of the valid types mentioned abovepublic DOMX509Data(Element xdElem) throws MarshalException
DOMX509Data from an element.xdElem - an X509Data elementMarshalException - if there is an error while unmarshallingpublic List<Object> getContent()
getContent in interface X509Datapublic static void marshal(XmlWriter xwriter, X509Data x509Data, String dsPrefix, XMLCryptoContext context) throws MarshalException
MarshalExceptionCopyright © 2000–2015 The Apache Software Foundation. All rights reserved.