XML Security, 1.6

com.ibm.xml.crypto.dsig.dom
Class X509DataImpl

java.lang.Object
  extended by com.ibm.xml.crypto.dsig.dom.XMLStructureImpl
      extended by com.ibm.xml.crypto.dsig.dom.X509DataImpl
All Implemented Interfaces:
X509Data, XMLStructure

 class X509DataImpl
extends XMLStructureImpl
implements X509Data


Field Summary
(package private)  java.util.List content
           
 
Fields inherited from class com.ibm.xml.crypto.dsig.dom.XMLStructureImpl
afactory
 
Fields inherited from interface javax.xml.crypto.dsig.keyinfo.X509Data
RAW_X509_CERTIFICATE_TYPE, TYPE
 
Constructor Summary
X509DataImpl(AlgorithmFactory f, java.util.List content)
           
 
Method Summary
static java.lang.String encodeDName(java.lang.String dname)
          Encode a distinguished name in XML-Signature style.
 java.util.List getContent()
          Returns an unmodifiable list of the content in this X509Data.
 
Methods inherited from class com.ibm.xml.crypto.dsig.dom.XMLStructureImpl
isFeatureSupported
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.xml.crypto.XMLStructure
isFeatureSupported
 

Field Detail

content

java.util.List content
Constructor Detail

X509DataImpl

X509DataImpl(AlgorithmFactory f,
             java.util.List content)
Method Detail

getContent

public java.util.List getContent()
Description copied from interface: X509Data
Returns an unmodifiable list of the content in this X509Data. Valid types are String (subject names), byte[] (subject key ids), X509Certificate, X509CRL, or XMLStructure (X509IssuerSerial objects or elements from an external namespace).

Specified by:
getContent in interface X509Data
Returns:
an unmodifiable list of the content in this X509Data (never null or empty)

encodeDName

public static java.lang.String encodeDName(java.lang.String dname)
                                    throws java.lang.IllegalArgumentException
Encode a distinguished name in XML-Signature style. Double quotes are not used and some characters are escaped by `\'. See 4.4.4 The X509 Element of the specification.

Throws:
java.lang.IllegalArgumentException

XML Security, 1.6

Portions Copyright 2003, 2012 IBM Corporation.
Portions Copyright 2003, 2012 Oracle and/or its affiliates.