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

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

public class SelfIssuedCredential
extends java.lang.Object
implements Credential


Field Summary
static javax.xml.namespace.QName NAME
           
 
Constructor Summary
SelfIssuedCredential(java.lang.String ppid)
          Create a new SelfIssuedCredential with a personal private identifier.
 
Method Summary
 java.lang.String getPersonalPrivateIdentifier()
           
 org.apache.axiom.om.OMElement serialize()
          Serialize this element into an OMElement
 
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

SelfIssuedCredential

public SelfIssuedCredential(java.lang.String ppid)
Create a new SelfIssuedCredential with a personal private identifier.

Parameters:
ppid - Base64 encoded personal private identifier value.
Method Detail

getPersonalPrivateIdentifier

public java.lang.String getPersonalPrivateIdentifier()

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