Creates a DOMX509Data.
Returns:
a
X509Data
Parameters:
-
content - a list of one or more X.509 data types. Valid types are
{@link String} (subject names),
byte[]
(subject key ids),
{@link java.security.cert.X509Certificate}, {@link X509CRL},
or {@link javax.xml.dsig.XMLStructure} ({@link X509IssuerSerial}
objects or elements from an external namespace). The list is
defensively copied to protect against subsequent modification.
Throws:
-
NullPointerException - if
content
is
null
-
IllegalArgumentException - if
content
is empty
-
ClassCastException - if
content
contains any entries
that are not of one of the valid types mentioned above