|
||||||||||
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)
scope
- aliasName
-
TechnicalConnectorException
- the technical connector exceptionpublic PrivateKey getPrivateKey()
getPrivateKey
in interface Credential
public PublicKey getPublicKey()
getPublicKey
in interface Credential
public X509Certificate getCertificate()
getCertificate
in interface Credential
public String getIssuer()
getIssuer
in interface Credential
public String getIssuerQualifier()
getIssuerQualifier
in interface Credential
public KeyStore getKeyStore() throws TechnicalConnectorException
Credential
KeyStore
getKeyStore
in interface Credential
TechnicalConnectorException
public String getProviderName()
Credential
getProviderName
in interface Credential
public void flushCache()
SessionServiceWithCache
flushCache
in interface SessionServiceWithCache
public Certificate[] getCertificateChain()
Credential
getCertificateChain
in interface Credential
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |