org.eclipse.higgins.icard
Interface IPersonalInformationCard

All Superinterfaces:
ICard, IClaimContainer, IClaimTypeContainer, IInformationCard

public interface IPersonalInformationCard
extends IInformationCard

Represents personal CardSpace-interoperable I-Card


Method Summary
 URI getClaimListContextID()
          URI of the context where Entity with claim values of the card is stored
 String getClaimListEntityID()
          ID of Entity which holds claim values of the card
 Map getDirtyClaims()
           
 byte[] getPinDigest()
          Contains the base64 encoded bytes of the SHA1 hash of the pin code
 void setPinCode(IPinCodeCredential pinCodeCredential)
          Used to set/remove pin protection
 
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, 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

getPinDigest

byte[] getPinDigest()
                    throws CardException
Contains the base64 encoded bytes of the SHA1 hash of the pin code

Throws:
CardException

setPinCode

void setPinCode(IPinCodeCredential pinCodeCredential)
                throws CardException
Used to set/remove pin protection

Parameters:
pinCodeCredential -
Throws:
CardException

getClaimListContextID

URI getClaimListContextID()
URI of the context where Entity with claim values of the card is stored


getClaimListEntityID

String getClaimListEntityID()
ID of Entity which holds claim values of the card


getDirtyClaims

Map getDirtyClaims()
Returns:
The map of claim values by claim type. The Map keys are Strings. Each Map value is a String representation (encrypted, if card is pin-protected) of claim value as it should be stored in InformationCardPrivateData section of RoamingInformationCard.