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

java.lang.Object
  extended by org.eclipse.higgins.icard.common.Card
      extended by org.eclipse.higgins.icard.provider.cardspace.common.InformationCard
          extended by org.eclipse.higgins.icard.provider.cardspace.common.ManagedCard
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.IManagedInformationCard
Direct Known Subclasses:
MCardEntity

public abstract class ManagedCard
extends InformationCard
implements org.eclipse.higgins.icard.IManagedInformationCard


Constructor Summary
ManagedCard()
           
 
Method Summary
 org.eclipse.higgins.icard.IClaim getClaim(String type)
           
 org.eclipse.higgins.icard.IClaim getClaimByLocalName(String shortTypeName)
           
 Iterator getClaims()
           
 org.eclipse.higgins.icard.IIssuerInformationEntry[] getIc07IssuerInformation()
           
 org.eclipse.higgins.icard.policy.ISTSPrivacyPolicy getPrivacyNotice()
           
 Boolean getRequireAppliesTo()
           
 org.eclipse.higgins.icard.auth.ICredentialDescriptor[] getRequiredCredentials()
           
 List getTokenServices()
           
 String getType()
           
 void initFromXML(Element crd)
           
 boolean isStrongRecipientIdentityRequired()
           
 void setPrivacyNotice(org.eclipse.higgins.icard.policy.ISTSPrivacyPolicy stsPrivacyPolicy)
           
 void setRequireAppliesTo(Boolean requireAppliesTo)
           
 void setTokenServices(List tokenServices)
           
 org.eclipse.higgins.icard.io.IElement toElement(org.eclipse.higgins.icard.io.IElementFormat format)
           
 
Methods inherited from class org.eclipse.higgins.icard.provider.cardspace.common.InformationCard
getExtensions, getHashSalt, getIssuerID, getRawMasterKey, hasExtensions, setExtensions, setHashSalt, setIssuerID, setRawMasterKey
 
Methods inherited from class org.eclipse.higgins.icard.common.Card
getCUID, getDescription, getID, getImage, getImageType, getIssuer, getIssuerName, getName, getProvider, getSupportedClaimTypes, getSupportedClaimTypesUris, getSupportedTokenTypes, getTimeExpires, getTimeIssued, getTimeLastUpdated, getVersion, isClaimsRetrieved, isFormatSupported, isSelfIssued, setClaims, setDescription, setID, setImage, setImageType, setIssuer, setIssuerName, setName, setSelfIssued, setSupportedClaimTypes, setSupportedTokenTypes, setTimeExpires, setTimeIssued, setTimeLastUpdated, setVersion
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.higgins.icard.IInformationCard
addExtension, getExtensions, getHashSalt, getIssuerID, getMasterKey, getRawMasterKey, hasExtensions, removeExtension
 
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, getVersion, isClaimsRetrieved, isEditable, isEditMode, isFormatSupported, isSelfIssued, setImage, setIssuerName, setName, setTimeExpires
 
Methods inherited from interface org.eclipse.higgins.icard.IClaimContainer
createClaim, setClaim
 

Constructor Detail

ManagedCard

public ManagedCard()
Method Detail

getTokenServices

public List getTokenServices()
Specified by:
getTokenServices in interface org.eclipse.higgins.icard.IManagedInformationCard

setTokenServices

public void setTokenServices(List tokenServices)

getRequireAppliesTo

public Boolean getRequireAppliesTo()
Specified by:
getRequireAppliesTo in interface org.eclipse.higgins.icard.IManagedInformationCard

setRequireAppliesTo

public void setRequireAppliesTo(Boolean requireAppliesTo)

getPrivacyNotice

public org.eclipse.higgins.icard.policy.ISTSPrivacyPolicy getPrivacyNotice()
Specified by:
getPrivacyNotice in interface org.eclipse.higgins.icard.IManagedInformationCard

setPrivacyNotice

public void setPrivacyNotice(org.eclipse.higgins.icard.policy.ISTSPrivacyPolicy stsPrivacyPolicy)

initFromXML

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

toElement

public org.eclipse.higgins.icard.io.IElement toElement(org.eclipse.higgins.icard.io.IElementFormat format)
                                                throws org.eclipse.higgins.icard.CardException,
                                                       org.eclipse.higgins.icard.io.CardIOException,
                                                       org.eclipse.higgins.icard.io.UnsupportedElementFormatException
Specified by:
toElement in interface org.eclipse.higgins.icard.ICard
Parameters:
str -
Returns:
Throws:
org.eclipse.higgins.icard.CardException
org.eclipse.higgins.icard.io.CardIOException
org.eclipse.higgins.icard.io.UnsupportedElementFormatException

getRequiredCredentials

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

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

getType

public String getType()
Specified by:
getType in interface org.eclipse.higgins.icard.ICard
Overrides:
getType in class InformationCard

getIc07IssuerInformation

public org.eclipse.higgins.icard.IIssuerInformationEntry[] getIc07IssuerInformation()
Specified by:
getIc07IssuerInformation in interface org.eclipse.higgins.icard.IManagedInformationCard

isStrongRecipientIdentityRequired

public boolean isStrongRecipientIdentityRequired()
Specified by:
isStrongRecipientIdentityRequired in interface org.eclipse.higgins.icard.IManagedInformationCard