org.eclipse.higgins.icard.provider.cardspace.common
Class PersonalCard

java.lang.Object
  extended byorg.eclipse.higgins.icard.provider.cardspace.common.InformationCard
      extended byorg.eclipse.higgins.icard.provider.cardspace.common.PersonalCard
All Implemented Interfaces:
org.eclipse.higgins.icard.ICard, org.eclipse.higgins.icard.IClaimContainer, org.eclipse.higgins.icard.IClaimTypeContainer, org.eclipse.higgins.icard.IInformationCard, org.eclipse.higgins.icard.IPersonalInformationCard

public abstract class PersonalCard
extends InformationCard
implements org.eclipse.higgins.icard.IPersonalInformationCard


Constructor Summary
PersonalCard()
           
 
Method Summary
 Element claimsToXML(Document doc)
           
 org.eclipse.higgins.icard.IClaim getClaim(String type)
           
 org.eclipse.higgins.icard.IClaim getClaimByLocalName(String shortTypeName)
           
 URI getClaimListContextID()
           
 String getClaimListSubjectID()
           
 Iterator getClaims()
           
 byte[] getPinDigest()
           
 org.eclipse.higgins.icard.auth.ICredentialDescriptor[] getRequiredCredentials()
           
 void initFromXML(Element card)
           
 Element toXML(Document doc)
           
 
Methods inherited from class org.eclipse.higgins.icard.provider.cardspace.common.InformationCard
getCUID, getDescription, getHashSalt, getID, getImage, getImageType, getIssuer, getIssuerName, getMasterKey, getName, getProvider, getSupportedClaimTypes, getSupportedClaimTypesUris, getSupportedTokenTypes, getTimeExpires, getTimeIssued, getTimeLastUpdated, getType, getVersion, isClaimsRetrieved, isSelfIssued
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.higgins.icard.IPersonalInformationCard
setPinCode
 
Methods inherited from interface org.eclipse.higgins.icard.IInformationCard
getHashSalt, getMasterKey
 
Methods inherited from interface org.eclipse.higgins.icard.ICard
applyUpdates, beginUpdates, cancelUpdates, getCUID, getDescription, getID, getImage, getImageType, getIssuer, getIssuerName, getName, getProvider, getSupportedClaimTypesUris, getSupportedTokenTypes, getTimeExpires, getTimeIssued, getTimeLastUpdated, getType, getVersion, isClaimsRetrieved, isEditable, isEditMode, isSelfIssued, setImage, setIssuerName, setName, setTimeExpires
 
Methods inherited from interface org.eclipse.higgins.icard.IClaimTypeContainer
getSupportedClaimTypes
 
Methods inherited from interface org.eclipse.higgins.icard.IClaimContainer
createClaim, setClaim
 

Constructor Detail

PersonalCard

public PersonalCard()
Method Detail

initFromXML

public void initFromXML(Element card)
                 throws org.eclipse.higgins.icard.CardException,
                        DOMException
Parameters:
card -
Throws:
org.eclipse.higgins.icard.CardException
DOMException

getClaimListContextID

public URI getClaimListContextID()
Specified by:
getClaimListContextID in interface org.eclipse.higgins.icard.IPersonalInformationCard

getClaimListSubjectID

public String getClaimListSubjectID()
Specified by:
getClaimListSubjectID in interface org.eclipse.higgins.icard.IPersonalInformationCard

toXML

public Element toXML(Document doc)
              throws org.eclipse.higgins.icard.CardException
Specified by:
toXML in interface org.eclipse.higgins.icard.IInformationCard
Throws:
org.eclipse.higgins.icard.CardException

claimsToXML

public Element claimsToXML(Document doc)
                    throws org.eclipse.higgins.icard.CardException
Parameters:
doc -
Returns:
Throws:
org.eclipse.higgins.icard.CardException

getPinDigest

public byte[] getPinDigest()
                    throws org.eclipse.higgins.icard.CardException
Specified by:
getPinDigest in interface org.eclipse.higgins.icard.IPersonalInformationCard
Throws:
org.eclipse.higgins.icard.CardException

getClaim

public org.eclipse.higgins.icard.IClaim getClaim(String type)
                                          throws org.eclipse.higgins.icard.AuthenticationRequiredException,
                                                 org.eclipse.higgins.icard.InvalidTypeException,
                                                 org.eclipse.higgins.icard.CardException
Specified by:
getClaim in interface org.eclipse.higgins.icard.IClaimContainer
Throws:
org.eclipse.higgins.icard.AuthenticationRequiredException
org.eclipse.higgins.icard.InvalidTypeException
org.eclipse.higgins.icard.CardException

getClaimByLocalName

public org.eclipse.higgins.icard.IClaim getClaimByLocalName(String shortTypeName)
                                                     throws org.eclipse.higgins.icard.AuthenticationRequiredException,
                                                            org.eclipse.higgins.icard.InvalidTypeException,
                                                            org.eclipse.higgins.icard.CardException
Specified by:
getClaimByLocalName in interface org.eclipse.higgins.icard.ICard
Throws:
org.eclipse.higgins.icard.AuthenticationRequiredException
org.eclipse.higgins.icard.InvalidTypeException
org.eclipse.higgins.icard.CardException

getClaims

public Iterator getClaims()
                   throws org.eclipse.higgins.icard.CardException
Specified by:
getClaims in interface org.eclipse.higgins.icard.IClaimContainer
Throws:
org.eclipse.higgins.icard.CardException

getRequiredCredentials

public org.eclipse.higgins.icard.auth.ICredentialDescriptor[] getRequiredCredentials()
Specified by:
getRequiredCredentials in interface org.eclipse.higgins.icard.ICard