## Uses of Interface
be.ehealth.technicalconnector.service.sts.security.Credential

- Packages that use Credential
  Package | Description
  --- | ---
  be.ehealth.businessconnector.therlink.builders |
  be.ehealth.businessconnector.therlink.builders.impl |
  be.ehealth.technicalconnector.handler |
  be.ehealth.technicalconnector.handler.utils |
  be.ehealth.technicalconnector.handler.wss4j |
  be.ehealth.technicalconnector.service.etee |
  be.ehealth.technicalconnector.service.kgss |
  be.ehealth.technicalconnector.service.kgss.builders |
  be.ehealth.technicalconnector.service.kgss.builders.impl |
  be.ehealth.technicalconnector.service.kgss.impl |
  be.ehealth.technicalconnector.service.sts |
  be.ehealth.technicalconnector.service.sts.impl |
  be.ehealth.technicalconnector.service.sts.security |
  be.ehealth.technicalconnector.service.sts.security.impl |
  be.ehealth.technicalconnector.session |
  be.ehealth.technicalconnector.session.impl |
  be.ehealth.technicalconnector.utils |
  be.ehealth.technicalconnector.ws.domain |
  be.fgov.ehealth.technicalconnector.ra.builders |
  be.fgov.ehealth.technicalconnector.ra.service |
  be.fgov.ehealth.technicalconnector.ra.service.impl |
  be.fgov.ehealth.technicalconnector.ra.utils |
  be.fgov.ehealth.technicalconnector.signature |
  be.fgov.ehealth.technicalconnector.signature.impl |
  be.fgov.ehealth.technicalconnector.signature.impl.xades |
  be.fgov.ehealth.technicalconnector.signature.impl.xades.impl |

- - ### Uses of Credential in be.ehealth.businessconnector.therlink.builders

    Methods in be.ehealth.businessconnector.therlink.builders with parameters of type Credential
    Modifier and Type | Method and Description
    --- | ---
    `Proof` | ProofBuilder.`createProofForEidSigning(Credential cred)` Creates a `Proof` for eID signing, with default SHA256 signature algorithm.
    `Proof` | ProofBuilder.`createProofForEidSigning(Credential cred, String signatureAlgorithm)` Creates a `Proof` for eID signing, with supplied signature algorithm.

  - ### Uses of Credential in be.ehealth.businessconnector.therlink.builders.impl

    Methods in be.ehealth.businessconnector.therlink.builders.impl with parameters of type Credential
    Modifier and Type | Method and Description
    --- | ---
    `Proof` | ProofBuilderImpl.`createProofForEidSigning(Credential cred)`
    `Proof` | ProofBuilderImpl.`createProofForEidSigning(Credential cred, String signatureAlgorithm)`

  - ### Uses of Credential in be.ehealth.technicalconnector.handler

    Methods in be.ehealth.technicalconnector.handler with parameters of type Credential
    Modifier and Type | Method and Description
    --- | ---
    `AbstractWsSecurityHandler.WSSecHeaderGeneratorStep3` | AbstractWsSecurityHandler.WSSecHeaderGeneratorStep2.`withBinarySecurityToken(Credential cred)`

    Constructors in be.ehealth.technicalconnector.handler with parameters of type Credential
    Constructor and Description
    `CertificateCallback(Credential cred)` Instantiates a new x509 handler

  - ### Uses of Credential in be.ehealth.technicalconnector.handler.utils

    Constructors in be.ehealth.technicalconnector.handler.utils with parameters of type Credential
    Constructor and Description
    `WSSecurityCrypto(Credential cred)`

  - ### Uses of Credential in be.ehealth.technicalconnector.handler.wss4j

    Methods in be.ehealth.technicalconnector.handler.wss4j with parameters of type Credential
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | SOAPContextAlgorithmHelper.`canHandle(Credential cred)`
    `boolean` | RSAAlgorithmHelper.`canHandle(Credential cred)`
    `boolean` | ECAlgorithmHelper.`canHandle(Credential cred)`
    `boolean` | AlgorithmHelper.`canHandle(Credential cred)`
    `String` | SOAPContextAlgorithmHelper.`determineDigestAlgo(Credential cred)`
    `String` | RSAAlgorithmHelper.`determineDigestAlgo(Credential cred)`
    `String` | ECAlgorithmHelper.`determineDigestAlgo(Credential cred)`
    `String` | AlgorithmHelper.`determineDigestAlgo(Credential cred)`
    `String` | SOAPContextAlgorithmHelper.`determineSignatureAlgorithm(Credential cred)`
    `String` | RSAAlgorithmHelper.`determineSignatureAlgorithm(Credential cred)`
    `String` | ECAlgorithmHelper.`determineSignatureAlgorithm(Credential cred)`
    `String` | AlgorithmHelper.`determineSignatureAlgorithm(Credential cred)`
    `static AlgorithmHelper` | AlgorithmHelperFactory.`getAlgorithmHelper(Credential credential, SOAPMessageContext ctx)`
    `AbstractWsSecurityHandler.WSSecHeaderGeneratorStep3` | WSSecHeaderGeneratorWss4jImpl.`withBinarySecurityToken(Credential cred)`

  - ### Uses of Credential in be.ehealth.technicalconnector.service.etee

    Methods in be.ehealth.technicalconnector.service.etee with parameters of type Credential
    Modifier and Type | Method and Description
    --- | ---
    `static Crypto` | CryptoFactory.`getCrypto(Credential encryption, Map<String,PrivateKey> decryptionKeys)`
    `static Crypto` | CryptoFactory.`getCrypto(Credential encryption, Map<String,PrivateKey> decryptionKeys, String oCSPPolicy)` Possible values of the OCSPPolicy parameter:

  - ### Uses of Credential in be.ehealth.technicalconnector.service.kgss

    Methods in be.ehealth.technicalconnector.service.kgss with parameters of type Credential
    Modifier and Type | Method and Description
    --- | ---
    `GetKeyResponseContent` | KgssService.`getKey(GetKeyRequestContent request, Credential encryption, Credential serviceCredential, Element samlAssertion, Map<String,PrivateKey> decryptionKeys, byte[] etk)` Retrieves an existing key from the KGSS using explicit credentials and a raw SAML assertion.
    `GetNewKeyResponseContent` | KgssService.`getNewKey(GetNewKeyRequestContent request, Credential encryptionCredential, Map<String,PrivateKey> decryptionKeys, byte[] kgssETK)` Asks the KGSS to generate and store a new key, returning the full response content.

  - ### Uses of Credential in be.ehealth.technicalconnector.service.kgss.builders

    Methods in be.ehealth.technicalconnector.service.kgss.builders with parameters of type Credential
    Modifier and Type | Method and Description
    --- | ---
    `static KgssMessageBuilder` | KgssMessageBuilderFactory.`create(byte[] etkKGSS, Credential encryptionCredential, Map<String,PrivateKey> decryptionKeys)`

  - ### Uses of Credential in be.ehealth.technicalconnector.service.kgss.builders.impl

    Constructors in be.ehealth.technicalconnector.service.kgss.builders.impl with parameters of type Credential
    Constructor and Description
    `KgssMessageBuilderImpl(byte[] etkKgss, Credential encryptionCredential, Map<String,PrivateKey> decryptionKeys)` Instantiates a new kGSS util.

  - ### Uses of Credential in be.ehealth.technicalconnector.service.kgss.impl

    Methods in be.ehealth.technicalconnector.service.kgss.impl with parameters of type Credential
    Modifier and Type | Method and Description
    --- | ---
    `GetKeyResponseContent` | KgssServiceImpl.`getKey(GetKeyRequestContent request, Credential encryption, Credential service, Element samlAssertion, Map<String,PrivateKey> decryptionKeys, byte[] etkKGSS)`
    `GetNewKeyResponseContent` | KgssServiceImpl.`getNewKey(GetNewKeyRequestContent request, Credential encryption, Map<String,PrivateKey> decryptionKeys, byte[] etkKGSS)`

  - ### Uses of Credential in be.ehealth.technicalconnector.service.sts

    Methods in be.ehealth.technicalconnector.service.sts with parameters of type Credential
    Modifier and Type | Method and Description
    --- | ---
    `static SAMLRequest` | SAMLRequestFactory.`create(Credential headerCredential, Credential bodyCredential, SAMLToken.Version version, Duration duration)` Creates a new `SAMLRequest` with the specified credentials, version, and duration.
    `SAMLToken` | SAMLTokenFactory.`createSamlToken(Element assertion, Credential credential)` Creates a new SAMLToken object.
    `SAMLToken` | SAMLTokenFactory.`createSamlToken(SAMLToken.Version version, Element assertion, Credential credential)`
    `default Element` | STSService.`getToken(Credential headerCredentials, Credential bodyCredentials, List<SAMLAttribute> attributes, List<SAMLAttributeDesignator> designators, String subjectConfirmationMethod, Duration validity)` Deprecated.
    `default Element` | STSService.`getToken(Credential headerCredentials, Credential bodyCredentials, List<SAMLAttribute> attributes, List<SAMLAttributeDesignator> designators, String subjectConfirmationMethod, int validity)` Deprecated.
    `default Element` | STSService.`getToken(Credential headerCredentials, Credential bodyCredentials, List<SAMLAttribute> attributes, List<SAMLAttributeDesignator> designators, String authenticationMethod, String nameQualifier, String value, String subjectConfirmationMethod, Duration validity)` Deprecated.
    `default Element` | STSService.`getToken(Credential headerCredentials, Credential bodyCredentials, List<SAMLAttribute> attributes, List<SAMLAttributeDesignator> designators, String authenticationMethod, String nameQualifier, String value, String subjectConfirmationMethod, int validity)` Deprecated.
    `Element` | STSService.`renewToken(Credential headerCredentials, Credential bodyCredentials, Element samlToken, Duration validity)`
    `default Element` | STSService.`renewToken(Credential headerCredentials, Credential bodyCredentials, Element samlToken, int validity)` Deprecated.

  - ### Uses of Credential in be.ehealth.technicalconnector.service.sts.impl

    Methods in be.ehealth.technicalconnector.service.sts.impl with parameters of type Credential
    Modifier and Type | Method and Description
    --- | ---
    `Element` | STSServiceWsTrustImpl.`renewToken(Credential headerCredentials, Credential bodyCredentials, Element samlToken, Duration validity)`

  - ### Uses of Credential in be.ehealth.technicalconnector.service.sts.security

    Subinterfaces of Credential in be.ehealth.technicalconnector.service.sts.security
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `ExtendedCredential` Extension of a `Credential`
    `interface` | `SAML11Token`
    `interface` | `SAML20Token`
    `interface` | `SAMLHolderOfKeyToken`
    `interface` | `SAMLSenderVouchesToken`
    `interface` | `SAMLToken` The Interface SAMLToken.

    Methods in be.ehealth.technicalconnector.service.sts.security that return Credential
    Modifier and Type | Method and Description
    --- | ---
    `Credential` | SAMLToken.`getCredential()`

  - ### Uses of Credential in be.ehealth.technicalconnector.service.sts.security.impl

    Classes in be.ehealth.technicalconnector.service.sts.security.impl that implement Credential
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractExtendedCredential`
    `class` | `AbstractSAML11Token` Abstract class
    `class` | `AbstractSAML20Token` Abstract class
    `class` | `AbstractSAMLToken` Abstract class
    `class` | `BeIDCredential` The Class BeIDCredential.
    `class` | `KeyPairCredential` Credentail that takes the `Certificate` and `PrivateKey` as input.
    `class` | `KeyStoreCredential` The Class KeyStoreCredential.
    `class` | `SAML11HolderOfKeyToken` The Class SAMLTokenImpl.
    `class` | `SAML11SenderVouchesToken` SAMLSenderVouchesCredential.
    `class` | `SAML20HolderOfKeyToken` The Class SAMLTokenImpl.
    `class` | `SAML20SenderVouchesToken` SAMLSenderVouchesCredential.

    Methods in be.ehealth.technicalconnector.service.sts.security.impl that return Credential
    Modifier and Type | Method and Description
    --- | ---
    `Credential` | AbstractSAMLToken.`getCredential()`

    Constructors in be.ehealth.technicalconnector.service.sts.security.impl with parameters of type Credential
    Constructor and Description
    `AbstractSAML11Token(Element assertion, Credential credential)`
    `AbstractSAML20Token(Element assertion, Credential credential)`
    `AbstractSAMLToken(Element assertion, Credential credential)`
    `SAML11HolderOfKeyToken(Element assertion, Credential credential)` Instantiates a new SAML token impl.
    `SAML11SenderVouchesToken(Element assertion, Credential credential)` Instantiates a SAMLSenderVouchesCredential
    `SAML20HolderOfKeyToken(Element assertion, Credential credential)` Instantiates a new SAML token impl.
    `SAML20SenderVouchesToken(Element assertion, Credential credential)` Instantiates a SAMLSenderVouchesCredential

  - ### Uses of Credential in be.ehealth.technicalconnector.session

    Methods in be.ehealth.technicalconnector.session that return Credential
    Modifier and Type | Method and Description
    --- | ---
    `Credential` | SessionItemView.`getEncryptionCredential()` Gets the personal credential.
    `Credential` | SessionItemView.`getHeaderCredential()` Gets the header credential.
    `Credential` | SessionItemView.`getHolderOfKeyCredential()` Gets the system credential.

    Methods in be.ehealth.technicalconnector.session with parameters of type Credential
    Modifier and Type | Method and Description
    --- | ---
    `void` | SessionItem.`setEncryptionCredential(Credential encryptionCredential)` Sets the personal credential.
    `void` | SessionItem.`setHeaderCredential(Credential headerCredential)`
    `void` | SessionItem.`setHolderOfKeyCredential(Credential hokCredential)` Sets the system credential.

  - ### Uses of Credential in be.ehealth.technicalconnector.session.impl

    Methods in be.ehealth.technicalconnector.session.impl that return Credential
    Modifier and Type | Method and Description
    --- | ---
    `Credential` | SessionItemImpl.`getEncryptionCredential()`

    Methods in be.ehealth.technicalconnector.session.impl with parameters of type Credential
    Modifier and Type | Method and Description
    --- | ---
    `void` | SessionItemImpl.`setHolderOfKeyCredential(Credential hokCredential)`

  - ### Uses of Credential in be.ehealth.technicalconnector.utils

    Methods in be.ehealth.technicalconnector.utils that return Credential
    Modifier and Type | Method and Description
    --- | ---
    `static Credential` | SessionUtil.`getCredentail(CryptoType type, Credential defaultCredential)`
    `static Credential` | SessionUtil.`getEncryptionCredential()` checks the session and the presence of the encryption credential and returns it.
    `static Credential` | SessionUtil.`getHolderOfKeyCredential()` checks the session and the presence of the 'holder of key' credential and returns it.

    Methods in be.ehealth.technicalconnector.utils with parameters of type Credential
    Modifier and Type | Method and Description
    --- | ---
    `static Credential` | SessionUtil.`getCredentail(CryptoType type, Credential defaultCredential)`

  - ### Uses of Credential in be.ehealth.technicalconnector.ws.domain

    Methods in be.ehealth.technicalconnector.ws.domain with parameters of type Credential
    Modifier and Type | Method and Description
    --- | ---
    `GenericRequest` | GenericRequest.`setCredential(Credential cred, TokenType sec)` This method will set the security handler based on the credential
    `GenericRequest` | GenericRequest.`setSamlSecured(Element assertion, Credential hok)` This method will uses the assertion and the credential for setting the SAML security

  - ### Uses of Credential in be.fgov.ehealth.technicalconnector.ra.builders

    Methods in be.fgov.ehealth.technicalconnector.ra.builders with parameters of type Credential
    Modifier and Type | Method and Description
    --- | ---
    `static EncryptionTokenBuilder.EncryptionTokenBuilderStep` | BuilderFactory.`newEncryptionTokenBuilder(Credential cred)` Builder for generating an EncryptionToken

  - ### Uses of Credential in be.fgov.ehealth.technicalconnector.ra.service

    Methods in be.fgov.ehealth.technicalconnector.ra.service with parameters of type Credential
    Modifier and Type | Method and Description
    --- | ---
    `Result<Void>` | EncryptionTokenRegistrationService.`activateToken(Credential credential)`
    `Result<Void>` | EncryptionTokenRegistrationService.`completeETKRegistration(byte[] etk, Credential credential)`
    `Result<CertificateInfoType>` | AuthenticationCertificateRegistrationService.`getCertificateInfoForAuthenticationCertificate(Credential credential)`
    `Result<byte[]>` | EncryptionTokenRegistrationService.`startETKRegistration(PublicKey key, Credential cred)`

  - ### Uses of Credential in be.fgov.ehealth.technicalconnector.ra.service.impl

    Methods in be.fgov.ehealth.technicalconnector.ra.service.impl with parameters of type Credential
    Modifier and Type | Method and Description
    --- | ---
    `Result<Void>` | EncryptionTokenRegistrationServiceImpl.`activateToken(Credential credential)`
    `Result<Void>` | EncryptionTokenRegistrationServiceImpl.`completeETKRegistration(byte[] etk, Credential credential)`
    `Result<CertificateInfoType>` | AuthenticationCertificateRegistrationServiceImpl.`getCertificateInfoForAuthenticationCertificate(Credential credential)`
    `Result<byte[]>` | EncryptionTokenRegistrationServiceImpl.`startETKRegistration(PublicKey key, Credential credential)`

  - ### Uses of Credential in be.fgov.ehealth.technicalconnector.ra.utils

    Methods in be.fgov.ehealth.technicalconnector.ra.utils with parameters of type Credential
    Modifier and Type | Method and Description
    --- | ---
    `static X509Certificate` | CertificateUtils.`generateCert(PublicKey rqPubKey, BigInteger serialNr, Credential cred)` Generates a self signed certificate based on the given `Credential`
    `static String` | RaUtils.`sign(Object payload, String payloadId, Credential credential)`

  - ### Uses of Credential in be.fgov.ehealth.technicalconnector.signature

    Methods in be.fgov.ehealth.technicalconnector.signature with parameters of type Credential
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | SignatureBuilder.`sign(Credential signatureCredential, byte[] byteArrayToSign)`
    `byte[]` | SignatureBuilder.`sign(Credential signatureCredential, byte[] byteArrayToSign, Map<String,Object> options)`

  - ### Uses of Credential in be.fgov.ehealth.technicalconnector.signature.impl

    Methods in be.fgov.ehealth.technicalconnector.signature.impl with parameters of type Credential
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | XmlSignatureBuilder.`sign(Credential signatureCredential, byte[] byteArrayToSign)`
    `byte[]` | CmsSignatureBuilder.`sign(Credential signatureCredential, byte[] byteArrayToSign)`
    `byte[]` | XmlSignatureBuilder.`sign(Credential signatureCredential, byte[] byteArrayToSign, Map<String,Object> options)`
    `byte[]` | CmsSignatureBuilder.`sign(Credential signatureCredential, byte[] byteToSign, Map<String,Object> options)`

  - ### Uses of Credential in be.fgov.ehealth.technicalconnector.signature.impl.xades

    Methods in be.fgov.ehealth.technicalconnector.signature.impl.xades with parameters of type Credential
    Modifier and Type | Method and Description
    --- | ---
    `void` | XadesSpecification.`addOptionalBeforeSignatureParts(SignedPropertiesBuilder signedProps, org.apache.xml.security.signature.XMLSignature sig, Credential signing, String uuid, Map<String,Object> options)`

    Constructors in be.fgov.ehealth.technicalconnector.signature.impl.xades with parameters of type Credential
    Constructor and Description
    `XadesHandler(org.apache.xml.security.signature.XMLSignature sig, Credential signatureCredential, Map<String,Object> options, XadesSpecification... specs)`

  - ### Uses of Credential in be.fgov.ehealth.technicalconnector.signature.impl.xades.impl

    Methods in be.fgov.ehealth.technicalconnector.signature.impl.xades.impl with parameters of type Credential
    Modifier and Type | Method and Description
    --- | ---
    `void` | XadesTSpecification.`addOptionalBeforeSignatureParts(SignedPropertiesBuilder signedProps, org.apache.xml.security.signature.XMLSignature sig, Credential signing, String uuid, Map<String,Object> options)`
    `void` | XadesSpecification.`addOptionalBeforeSignatureParts(SignedPropertiesBuilder signedProps, org.apache.xml.security.signature.XMLSignature sig, Credential signing, String uuid, Map<String,Object> options)`
    `void` | XadesCSpecification.`addOptionalBeforeSignatureParts(SignedPropertiesBuilder signedProps, org.apache.xml.security.signature.XMLSignature sig, Credential signing, String uuid, Map<String,Object> options)`
    `void` | XadesBesSpecification.`addOptionalBeforeSignatureParts(SignedPropertiesBuilder signedProps, org.apache.xml.security.signature.XMLSignature sig, Credential signing, String uuid, Map<String,Object> options)`

Connector Packaging generic 4.9.5 API
Copyright © {inceptionYear}-2026 eHealth. All Rights Reserved.