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
 byte[] getRawMasterKey()
           
 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.IClaimContainer
createClaim, getClaim, getClaims, setClaim
 

Method Detail

getHashSalt

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

Returns:

getRawMasterKey

byte[] getRawMasterKey()
Returns:
If card is not pin-protected returns master key, otherwise returns encrypted master key.
Throws:
CardException

getMasterKey

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

Returns:
Throws:
CardException

getIssuerID

byte[] getIssuerID()
Returns:

hasExtensions

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

getExtensions

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

addExtension

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

removeExtension

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

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