|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopencard.opt.security.CredentialStore
de.cardcontact.opencard.security.IsoCredentialStore
public class IsoCredentialStore
Class implementing a credential store for secure channel credentials Secure channel credentials are stored with the file path and access mode as index
Field Summary | |
---|---|
static int |
ACTIVATE
|
static int |
APPEND
|
static int |
CREATE
|
static int |
DEACTIVATE
|
static int |
DELETE
|
static int |
READ
|
static int |
SELECT
|
static int |
SIZE_ACCESS_MATRIX
|
static int |
UPDATE
|
Constructor Summary | |
---|---|
IsoCredentialStore()
|
Method Summary | |
---|---|
SecureChannelCredential |
getSecureChannelCredential(SecurityDomain sd)
Return the credentials defined for a specific security domain |
SecureChannelCredential |
getSecureChannelCredential(SecurityDomain sd,
int accessMode)
Get a secure channel credential for a specified security domain and access mode |
void |
setSecureChannelCredential(SecurityDomain sd,
int accessMode,
SecureChannelCredential scc)
Set a secure channel credential for a specified security domain and access mode |
void |
setSecureChannelCredential(SecurityDomain sd,
SecureChannelCredential scc)
Set secure channel credential for a security domain |
boolean |
supports(CardID cardID)
Generic store that supports any card |
Methods inherited from class opencard.opt.security.CredentialStore |
---|
fetchCredential, getCredentialIDs, getInstance, storeCredential |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SELECT
public static final int READ
public static final int UPDATE
public static final int APPEND
public static final int CREATE
public static final int DELETE
public static final int ACTIVATE
public static final int DEACTIVATE
public static final int SIZE_ACCESS_MATRIX
Constructor Detail |
---|
public IsoCredentialStore()
Method Detail |
---|
public boolean supports(CardID cardID)
supports
in class CredentialStore
cardID
- the ATR of the smartcard to test for
public void setSecureChannelCredential(SecurityDomain sd, SecureChannelCredential scc)
sd
- Security domain (usually a CardFilePath object)scc
- Secure channel credential for this domainpublic SecureChannelCredential getSecureChannelCredential(SecurityDomain sd)
sd
- Security domain (usually a CardFilePath object)
public SecureChannelCredential getSecureChannelCredential(SecurityDomain sd, int accessMode)
sd
- Security domain (usually a CardFilePath object)accessMode
- Access mode, one of SELECT, READ, UPDATE, APPEND
public void setSecureChannelCredential(SecurityDomain sd, int accessMode, SecureChannelCredential scc)
sd
- Security domain (usually a CardFilePath object)accessMode
- Access mode, one of SELECT, READ, UPDATE, APPENDscc
- Secure channel credential
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |