|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.ehealth.technicalconnector.service.sts.security.impl.AbstractExtendedCredential
be.ehealth.technicalconnector.service.sts.security.impl.BeIDCredential
public final class BeIDCredential
The Class BeIDCredential. Implementation of AbstractExtendedCredential and SessionServiceWithCache
| Field Summary | |
|---|---|
static String |
EID_AUTH_ALIAS
Using the authentication certifate on the eid; |
static String |
EID_SIGN_ALIAS
Using the non-repudiation certifcate on the eid; |
static String |
OID_GIVENNAME
Deprecated. replaced by BCStyle.GIVENNAME.getId() |
static String |
OID_LASTNAME
Deprecated. replaced by BCStyle.SURNAME.getId() |
static String |
OID_SERIALNUMBER
Deprecated. replaced by BCStyle.SN.getId() |
static String |
PROP_USE_CACHE
Property to activate or desactivate caching of the BeIDCredential. |
| Method Summary | |
|---|---|
void |
flushCache()
Method to flush the cache after invoking this method. |
X509Certificate |
getCertificate()
Gets the certificate. |
Certificate[] |
getCertificateChain()
Gets the certificate chain |
static BeIDCredential |
getInstance(String scope,
String aliasName)
Gets the single instance of BeIDCredential. |
String |
getIssuer()
Gets the issuer. |
String |
getIssuerQualifier()
Gets the issuer qualifier. |
KeyStore |
getKeyStore()
Gets the associated KeyStore |
PrivateKey |
getPrivateKey()
Gets the private key. |
String |
getProviderName()
Gets the keystore provider |
PublicKey |
getPublicKey()
Gets the public key. |
| Methods inherited from class be.ehealth.technicalconnector.service.sts.security.impl.AbstractExtendedCredential |
|---|
getCertPath, getExpirationDateTime |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PROP_USE_CACHE
@Deprecated public static final String OID_LASTNAME
BCStyle.SURNAME.getId()
@Deprecated public static final String OID_GIVENNAME
BCStyle.GIVENNAME.getId()
@Deprecated public static final String OID_SERIALNUMBER
BCStyle.SN.getId()
public static final String EID_AUTH_ALIAS
public static final String EID_SIGN_ALIAS
| Method Detail |
|---|
public static BeIDCredential getInstance(String scope,
String aliasName)
throws TechnicalConnectorException
scope - aliasName -
TechnicalConnectorException - the technical connector exceptionpublic PrivateKey getPrivateKey()
getPrivateKey in interface Credentialpublic PublicKey getPublicKey()
getPublicKey in interface Credentialpublic X509Certificate getCertificate()
getCertificate in interface Credentialpublic String getIssuer()
getIssuer in interface Credentialpublic String getIssuerQualifier()
getIssuerQualifier in interface Credential
public KeyStore getKeyStore()
throws TechnicalConnectorException
CredentialKeyStore
getKeyStore in interface CredentialTechnicalConnectorExceptionbe.ehealth.technicalconnector.service.sts.security.Credential#getKeystore()public String getProviderName()
Credential
getProviderName in interface CredentialCredential.getProviderName()public void flushCache()
SessionServiceWithCache
flushCache in interface SessionServiceWithCacheSessionServiceWithCache.flushCache()public Certificate[] getCertificateChain()
Credential
getCertificateChain in interface CredentialCredential.getCertificateChain()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||