org.apache.xml.security.keys.provider
Class CertificateElement

java.lang.Object
  |
  +--org.apache.xml.security.utils.ElementProxy
        |
        +--org.apache.xml.security.keys.provider.KeyBaseType
              |
              +--org.apache.xml.security.keys.provider.CertificateElement

public class CertificateElement
extends KeyBaseType

Author:
$Author: geuerp $

Field Summary
 
Fields inherited from class org.apache.xml.security.utils.ElementProxy
_baseURI, _constructionElement, _doc, _state, MODE_CREATE, MODE_DECRYPT, MODE_ENCRYPT, MODE_PROCESS, MODE_SIGN, MODE_UNKNOWN, MODE_VERIFY
 
Constructor Summary
CertificateElement(org.w3c.dom.Document doc, java.lang.String alias, java.security.cert.Certificate cert)
          Constructor CertificateElement
CertificateElement(org.w3c.dom.Element element, java.lang.String BaseURI)
          Constructor CertificateElement
 
Method Summary
 java.lang.String getBaseLocalName()
          Method getBaseLocalName
 java.security.cert.Certificate getCertificate()
          Method getCertificate
 java.lang.String getJCAType()
          Method getJCAType
 void setJCAType(java.security.cert.Certificate cert)
          Method setJCAType
 
Methods inherited from class org.apache.xml.security.keys.provider.KeyBaseType
getAlias, getBaseNamespace, getDate, setDate
 
Methods inherited from class org.apache.xml.security.utils.ElementProxy
addBase64Element, addBase64Text, addBigIntegerElement, addText, addTextElement, createElementForFamily, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getChildElementLocalName, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, guaranteeThatElementInCorrectSpace, length, setDefaultPrefix, setElement, setXPathNamespaceContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertificateElement

public CertificateElement(org.w3c.dom.Document doc,
                          java.lang.String alias,
                          java.security.cert.Certificate cert)
                   throws XMLSecurityException
Constructor CertificateElement

Parameters:
doc -
alias -
cert -
Throws:
XMLSecurityException

CertificateElement

public CertificateElement(org.w3c.dom.Element element,
                          java.lang.String BaseURI)
                   throws XMLSecurityException
Constructor CertificateElement

Parameters:
element -
BaseURI -
Throws:
XMLSecurityException
Method Detail

setJCAType

public void setJCAType(java.security.cert.Certificate cert)
Method setJCAType

Parameters:
cert -

getJCAType

public java.lang.String getJCAType()
Method getJCAType

Returns:

getCertificate

public java.security.cert.Certificate getCertificate()
                                              throws XMLSecurityException,
                                                     java.security.cert.CertificateException
Method getCertificate

Returns:
Throws:
java.security.cert.CertificateException
XMLSecurityException

getBaseLocalName

public java.lang.String getBaseLocalName()
Method getBaseLocalName

Specified by:
getBaseLocalName in class ElementProxy
Returns: