org.wso2.solutions.identity.cards.model
Class Identity

java.lang.Object
  extended by org.wso2.solutions.identity.cards.model.Identity
All Implemented Interfaces:
CardElement

public class Identity
extends java.lang.Object
implements CardElement


Field Summary
static javax.xml.namespace.QName NAME
           
 
Constructor Summary
Identity()
           
 
Method Summary
 java.security.cert.X509Certificate getCertificate()
           
 org.apache.axiom.om.OMElement serialize()
          Serialize this element into an OMElement
 void setCertificate(java.security.cert.X509Certificate certificate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final javax.xml.namespace.QName NAME
Constructor Detail

Identity

public Identity()
Method Detail

serialize

public org.apache.axiom.om.OMElement serialize()
                                        throws CardModelException
Description copied from interface: CardElement
Serialize this element into an OMElement

Specified by:
serialize in interface CardElement
Returns:
An OMelement that encapsulates information in this element.
Throws:
CardModelException

getCertificate

public java.security.cert.X509Certificate getCertificate()

setCertificate

public void setCertificate(java.security.cert.X509Certificate certificate)