|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.higgins.idas.common.AuthNSelfIssuedMaterials
Authorization materials comprised of privatepersonalidentifier, publicKey modulus, and publicKey exponent which may be used in
IContext.open(Object).
This class is intended to be used when the IdAS consumer is servicing a CardSpace request for secure token which uses a self-issued card as credentials. See Section 5.6 of A Guide to Integrating with InfoCard v1.0
| Field Summary | |
|---|---|
static URI |
ATTR_TYPE_PPID
|
static URI |
ATTR_TYPE_PUBLIC_KEY_EXPONENT
|
static URI |
ATTR_TYPE_PUBLIC_KEY_MODULUS
|
static URI |
MANAGED_ATTR_TYPE_URI
|
static URI |
MANAGED_ATTR_URI
Attribute URI for the attribute used to manage the secrets for this type of materials |
| Constructor Summary | |
|---|---|
AuthNSelfIssuedMaterials(org.eclipse.higgins.idas.api.IContext context,
byte[] ppid,
byte[] publicKeyMod,
byte[] publicKeyExp)
Constructs an AuthNSelfIssuedMaterials by taking the ppid and publicKey as byte [] objects. |
|
AuthNSelfIssuedMaterials(org.eclipse.higgins.idas.api.IContext context,
String b64PPID,
String b64PublicKeyMod,
String b64PublicKeyExp)
Constructs an AuthNSelfIssuedMaterials by taking the ppid and publicKey as byte [] objects. |
|
| Method Summary | |
|---|---|
org.eclipse.higgins.idas.api.IAttribute |
addAttribute(org.eclipse.higgins.idas.api.IAttribute copyFrom)
|
org.eclipse.higgins.idas.api.IAttribute |
addAttribute(URI attrID)
|
boolean |
equals(org.eclipse.higgins.idas.api.IHasAttributes attributes)
|
org.eclipse.higgins.idas.api.IAttribute |
getAttribute(URI attrID)
|
Iterator |
getAttributes()
|
org.eclipse.higgins.idas.api.IAttribute |
getManagedAttr()
|
URI |
getManagedAttrURI()
|
byte[] |
getPPIDBytes()
Returns the private personal identifier (ppid). |
String |
getPPIDString()
Returns the private personal identifier (ppid). |
byte[] |
getPublicKeyExpBytes()
Returns the public key exponent. |
String |
getPublicKeyExpString()
Returns the public key exponent. |
byte[] |
getPublicKeyModBytes()
Returns the public key modulus. |
String |
getPublicKeyModString()
Returns the public key modulus. |
org.eclipse.higgins.idas.api.ISingleValuedAttribute |
getSingleValuedAttribute(URI attrID)
|
void |
removeAttribute(URI attrID)
|
void |
removeAttributeValue(org.eclipse.higgins.idas.api.IAttribute attr)
|
void |
removeAttributeValue(URI attrID,
Object value)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final URI MANAGED_ATTR_URI
public static final URI MANAGED_ATTR_TYPE_URI
public static final URI ATTR_TYPE_PPID
public static final URI ATTR_TYPE_PUBLIC_KEY_MODULUS
public static final URI ATTR_TYPE_PUBLIC_KEY_EXPONENT
| Constructor Detail |
public AuthNSelfIssuedMaterials(org.eclipse.higgins.idas.api.IContext context,
byte[] ppid,
byte[] publicKeyMod,
byte[] publicKeyExp)
throws org.eclipse.higgins.idas.api.IdASException
byte [] objects.
ppid - private personal identifier of the identitypublicKeyMod - public key modulus for the identitypublicKeyExp - public key exponent for the identity
org.eclipse.higgins.idas.api.IdASException
public AuthNSelfIssuedMaterials(org.eclipse.higgins.idas.api.IContext context,
String b64PPID,
String b64PublicKeyMod,
String b64PublicKeyExp)
throws org.eclipse.higgins.idas.api.IdASException
byte [] objects.
b64PPID - Base64-encoded private personal identifier of the identityb64PublicKeyMod - Base64-encoded public key modulus for the identityb64PublicKeyExp - Base64-encoded public key exponent for the identity
org.eclipse.higgins.idas.api.IdASException| Method Detail |
public byte[] getPPIDBytes()
throws org.eclipse.higgins.idas.api.IdASException
byte [] form
org.eclipse.higgins.idas.api.IdASException
public byte[] getPublicKeyModBytes()
throws org.eclipse.higgins.idas.api.IdASException
IAttribute publicKeyAttr = thisMaterials.getAttribute(new URI(thisMaterials.ATTR_TYPE_PUBLIC_KEY_MODULUS));
byte [] form
org.eclipse.higgins.idas.api.IdASException
public byte[] getPublicKeyExpBytes()
throws org.eclipse.higgins.idas.api.IdASException
IAttribute publicKeyAttr = thisMaterials.getAttribute(new URI(thisMaterials.ATTR_TYPE_PUBLIC_KEY_EXPONENT));
byte [] form
org.eclipse.higgins.idas.api.IdASException
public String getPPIDString()
throws org.eclipse.higgins.idas.api.IdASException
IAttribute ppidAttr = thisMaterials.getAttribute(new URI(thisMaterials.ATTR_TYPE_PPID));
String form
org.eclipse.higgins.idas.api.IdASException
public String getPublicKeyModString()
throws org.eclipse.higgins.idas.api.IdASException
IAttribute publicKeyAttr = thisMaterials.getAttribute(new URI(thisMaterials.ATTR_TYPE_PUBLIC_KEY_MODULUS));
String form
org.eclipse.higgins.idas.api.IdASException
public String getPublicKeyExpString()
throws org.eclipse.higgins.idas.api.IdASException
IAttribute publicKeyAttr = thisMaterials.getAttribute(new URI(thisMaterials.ATTR_TYPE_PUBLIC_KEY_EXPONENT));
String form
org.eclipse.higgins.idas.api.IdASException
public org.eclipse.higgins.idas.api.IAttribute addAttribute(URI attrID)
throws org.eclipse.higgins.idas.api.IdASException,
org.eclipse.higgins.idas.api.InvalidTypeException
addAttribute in interface org.eclipse.higgins.idas.api.IHasAttributesorg.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.InvalidTypeException
public org.eclipse.higgins.idas.api.IAttribute addAttribute(org.eclipse.higgins.idas.api.IAttribute copyFrom)
throws org.eclipse.higgins.idas.api.IdASException
addAttribute in interface org.eclipse.higgins.idas.api.IHasAttributesorg.eclipse.higgins.idas.api.IdASException
public org.eclipse.higgins.idas.api.IAttribute getAttribute(URI attrID)
throws org.eclipse.higgins.idas.api.IdASException
getAttribute in interface org.eclipse.higgins.idas.api.IHasAttributesorg.eclipse.higgins.idas.api.IdASException
public Iterator getAttributes()
throws org.eclipse.higgins.idas.api.IdASException
getAttributes in interface org.eclipse.higgins.idas.api.IHasAttributesorg.eclipse.higgins.idas.api.IdASException
public org.eclipse.higgins.idas.api.ISingleValuedAttribute getSingleValuedAttribute(URI attrID)
throws org.eclipse.higgins.idas.api.IdASException,
org.eclipse.higgins.idas.api.NotSingleValuedAttributeException
getSingleValuedAttribute in interface org.eclipse.higgins.idas.api.IHasAttributesorg.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.NotSingleValuedAttributeException
public void removeAttribute(URI attrID)
throws org.eclipse.higgins.idas.api.IdASException
removeAttribute in interface org.eclipse.higgins.idas.api.IHasAttributesorg.eclipse.higgins.idas.api.IdASException
public void removeAttributeValue(URI attrID,
Object value)
throws org.eclipse.higgins.idas.api.IdASException
removeAttributeValue in interface org.eclipse.higgins.idas.api.IHasAttributesorg.eclipse.higgins.idas.api.IdASException
public void removeAttributeValue(org.eclipse.higgins.idas.api.IAttribute attr)
throws org.eclipse.higgins.idas.api.IdASException
removeAttributeValue in interface org.eclipse.higgins.idas.api.IHasAttributesorg.eclipse.higgins.idas.api.IdASException
public boolean equals(org.eclipse.higgins.idas.api.IHasAttributes attributes)
throws org.eclipse.higgins.idas.api.IdASException
equals in interface org.eclipse.higgins.idas.api.IHasAttributesorg.eclipse.higgins.idas.api.IdASExceptionpublic org.eclipse.higgins.idas.api.IAttribute getManagedAttr()
getManagedAttr in interface org.eclipse.higgins.idas.api.IAuthNAttributesMaterialspublic URI getManagedAttrURI()
getManagedAttrURI in interface org.eclipse.higgins.idas.api.IAuthNAttributesMaterials
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||