Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## be.ehealth.technicalconnector.service.sts.security.impl
Class BeIDCredential

    java.lang.Object
      be.ehealth.technicalconnector.service.sts.security.impl.AbstractExtendedCredential
          be.ehealth.technicalconnector.service.sts.security.impl.BeIDCredential

All Implemented Interfaces:
  Credential, ExtendedCredential

    public final class BeIDCredential

extends AbstractExtendedCredential

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

### PROP_USE_CACHE

    public static final String PROP_USE_CACHE

  Property to activate or desactivate caching of the BeIDCredential. Default:: false

  See Also:
    Constant Field Values

### OID_LASTNAME

    @Deprecated
    public static final String OID_LASTNAME

  Deprecated. replaced by `BCStyle`.SURNAME.getId()
  The OID last name

### OID_GIVENNAME

    @Deprecated
    public static final String OID_GIVENNAME

  Deprecated. replaced by `BCStyle`.GIVENNAME.getId()
  The OID given name

### OID_SERIALNUMBER

    @Deprecated
    public static final String OID_SERIALNUMBER

  Deprecated. replaced by `BCStyle`.SN.getId()
  The OID serial number

### EID_AUTH_ALIAS

    public static final String EID_AUTH_ALIAS

  Using the authentication certifate on the eid;

  See Also:
    Constant Field Values

### EID_SIGN_ALIAS

    public static final String EID_SIGN_ALIAS

  Using the non-repudiation certifcate on the eid;

  See Also:
    Constant Field Values

Method Detail

### getInstance

    public static BeIDCredential getInstance(String scope,
                                             String aliasName)

  Gets the single instance of BeIDCredential.

  Parameters:
    `scope` -
    `aliasName` -
  Returns:
    single instance of BeIDCredential
  Throws:
    `TechnicalConnectorException` - the technical connector exception

### getPrivateKey

    public PrivateKey getPrivateKey()

  Gets the private key.

  Returns:
    the private key

### getPublicKey

    public PublicKey getPublicKey()

  Gets the public key.

  Returns:
    the public key

### getCertificate

    public X509Certificate getCertificate()

  Gets the certificate.

  Returns:
    the certificate

### getIssuer

    public String getIssuer()

  Gets the issuer.

  Returns:
    the issuer

### getIssuerQualifier

    public String getIssuerQualifier()

  Gets the issuer qualifier.

  Returns:
    the issuer qualifier

### getKeyStore

    public KeyStore getKeyStore()
                         throws TechnicalConnectorException

  Description copied from interface: `Credential`
  Gets the associated `KeyStore`

  Throws:
    `TechnicalConnectorException`

### getProviderName

    public String getProviderName()
                           throws TechnicalConnectorException

  Description copied from interface: `Credential`
  Gets the keystore provider

  Throws:
    `TechnicalConnectorException`

### getCertificateChain

    public Certificate[] getCertificateChain()

  Description copied from interface: `Credential`
  Gets the certificate chain

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Connector Packaging TECHNICAL 3.27.0 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.