org.eclipse.higgins.icard.provider.cardspace.common.utils
Class CardUtils
java.lang.Object
org.eclipse.higgins.icard.provider.cardspace.common.utils.CardUtils
- public class CardUtils
- extends Object
CardUtils
public CardUtils()
parseCardId
public static URI parseCardId(Element card)
throws org.eclipse.higgins.icard.CardException
- Throws:
org.eclipse.higgins.icard.CardException
parseCardVersion
public static String parseCardVersion(Element card)
throws org.eclipse.higgins.icard.CardException
- Throws:
org.eclipse.higgins.icard.CardException
parseCardName
public static String parseCardName(Element card)
throws org.eclipse.higgins.icard.CardException
- Throws:
org.eclipse.higgins.icard.CardException
parseCardImage
public static byte[] parseCardImage(Element card)
throws org.eclipse.higgins.icard.CardException
- Throws:
org.eclipse.higgins.icard.CardException
parseCardImageType
public static String parseCardImageType(Element card)
throws org.eclipse.higgins.icard.CardException
- Throws:
org.eclipse.higgins.icard.CardException
parseIssuer
public static String parseIssuer(Element card)
throws org.eclipse.higgins.icard.CardException
- Throws:
org.eclipse.higgins.icard.CardException
parseIssuerName
public static String parseIssuerName(Element card)
throws org.eclipse.higgins.icard.CardException
- Throws:
org.eclipse.higgins.icard.CardException
parseIssuerID
public static byte[] parseIssuerID(Element card)
throws org.eclipse.higgins.icard.CardException
- Throws:
org.eclipse.higgins.icard.CardException
parseTimeIssued
public static Date parseTimeIssued(Element card)
throws org.eclipse.higgins.icard.CardException
- Throws:
org.eclipse.higgins.icard.CardException
parseTimeExpires
public static Date parseTimeExpires(Element card)
throws org.eclipse.higgins.icard.CardException
- Throws:
org.eclipse.higgins.icard.CardException
parseSupportedTokenTypes
public static List parseSupportedTokenTypes(Element card)
throws org.eclipse.higgins.icard.CardException
- Throws:
org.eclipse.higgins.icard.CardException
parseClaimTypes
public static List parseClaimTypes(Element card)
throws org.eclipse.higgins.icard.CardException
- Throws:
org.eclipse.higgins.icard.CardException
parseTokenServiceList
public static List parseTokenServiceList(Element card)
throws org.eclipse.higgins.icard.CardException
- Throws:
org.eclipse.higgins.icard.CardException
parseRequireAppliesTo
public static Boolean parseRequireAppliesTo(Element card)
throws org.eclipse.higgins.icard.CardException
- Throws:
org.eclipse.higgins.icard.CardException
parsePrivacyNotice
public static Element parsePrivacyNotice(Element card)
throws org.eclipse.higgins.icard.CardException
- Throws:
org.eclipse.higgins.icard.CardException
parseHashSalt
public static byte[] parseHashSalt(Element card)
throws org.eclipse.higgins.icard.CardException
- Throws:
org.eclipse.higgins.icard.CardException
parseTimeLastUpdated
public static Date parseTimeLastUpdated(Element card)
throws org.eclipse.higgins.icard.CardException
- Throws:
org.eclipse.higgins.icard.CardException
parseMasterKey
public static byte[] parseMasterKey(Element roamingCard)
throws org.eclipse.higgins.icard.CardException
- Throws:
org.eclipse.higgins.icard.CardException
parsePinDigest
public static byte[] parsePinDigest(Element metaData)
throws org.eclipse.higgins.icard.CardException
- Throws:
org.eclipse.higgins.icard.CardException
parseClaimValues
public static HashMap parseClaimValues(Element privateData)
throws org.eclipse.higgins.icard.CardException
- Throws:
org.eclipse.higgins.icard.CardException
isSelfIssued
public static boolean isSelfIssued(Element card)
throws org.eclipse.higgins.icard.CardException
- Throws:
org.eclipse.higgins.icard.CardException
isStringEmpty
public static boolean isStringEmpty(String str)