org.eclipse.higgins.icard
Interface IInformationCard

All Superinterfaces:
ICard, IClaimContainer, IClaimTypeContainer
All Known Subinterfaces:
IManagedInformationCard, IPersonalInformationCard

public interface IInformationCard
extends ICard

Represents CardSpace-interoperable I-Card


Method Summary
 IInformationCardExtension addExtension(IElement extension)
           
 IInformationCardExtension[] getExtensions()
           
 byte[] getHashSalt()
          Random entropy used for computing the PPID claim value for the card
 byte[] getIssuerID()
           
 byte[] getMasterKey()
          Used as the entropy to generate the token signing key
 boolean hasExtensions()
           
 void removeExtension(IInformationCardExtension extension)
          Remove an extension from the card
 
Methods inherited from interface org.eclipse.higgins.icard.ICard
applyUpdates, beginUpdates, cancelUpdates, getClaimByLocalName, getCUID, getDescription, getID, getImage, getImageType, getIssuer, getIssuerName, getName, getProvider, getRequiredCredentials, getSupportedClaimTypesUris, getSupportedTokenTypes, getTimeExpires, getTimeIssued, getTimeLastUpdated, getType, getVersion, isClaimsRetrieved, isEditable, isEditMode, isFormatSupported, isSelfIssued, setImage, setIssuerName, setName, setTimeExpires, toElement
 
Methods inherited from interface org.eclipse.higgins.icard.IClaimTypeContainer
getSupportedClaimTypes
 
Methods inherited from interface org.eclipse.higgins.icard.IClaimContainer
createClaim, getClaim, getClaims, setClaim
 

Method Detail

getHashSalt

public byte[] getHashSalt()
Random entropy used for computing the PPID claim value for the card

Returns:

getMasterKey

public byte[] getMasterKey()
                    throws CardException
Used as the entropy to generate the token signing key

Returns:
Throws:
CardException

getIssuerID

public byte[] getIssuerID()
Returns:

hasExtensions

public boolean hasExtensions()
Returns:
true if this card has any extension, otherwise false

getExtensions

public IInformationCardExtension[] getExtensions()
Returns:
Extensions of this card

addExtension

public IInformationCardExtension addExtension(IElement extension)
                                       throws CardException
Parameters:
extension -
Returns:
Throws:
CardException - If this card is not in edit mode

removeExtension

public void removeExtension(IInformationCardExtension extension)
                     throws CardException
Remove an extension from the card

Parameters:
extension -
Throws:
CardException - If this card is not in edit mode