|
||||||||||
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 | |
---|---|
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()
public PublicKey getPublicKey()
public X509Certificate getCertificate()
public String getIssuer()
public String getIssuerQualifier()
public KeyStore getKeyStore() throws TechnicalConnectorException
Credential
KeyStore
TechnicalConnectorException
public String getProviderName() throws TechnicalConnectorException
Credential
TechnicalConnectorException
public Certificate[] getCertificateChain()
Credential
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |