## 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.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.distributedkeys.proxy |
  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 Requires the eID card of the patient connected

  - ### 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)`

  - ### 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)` Ask the eHealth-platform Key Generation and Storage Service (KGSS) to retrieve a key, based on a given key identifier.
    `GetNewKeyResponseContent` | KgssService.`getNewKey(GetNewKeyRequestContent request, Credential encryptionCredential, Map<String,PrivateKey> decryptionKeys, byte[] kgssETK)` Ask the eHealth-platform Key Generation and Storage Service (KGSS) to generate and store a new key, and return the identifier.

  - ### 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)` Gets the key.
    `GetNewKeyResponseContent` | KgssServiceImpl.`getNewKey(GetNewKeyRequestContent request, Credential encryption, Map<String,PrivateKey> decryptionKeys, byte[] etkKGSS)` Gets the new key.

  - ### 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
    --- | ---
    `SAMLToken` | SAMLTokenFactory.`createSamlToken(Element assertion, Credential credential)` Creates a new SAMLToken object.
    `Element` | STSService.`getToken(Credential headerCredentials, Credential bodyCredentials, List<SAMLAttribute> attributes, List<SAMLAttributeDesignator> designators, String subjectConfirmationMethod, Duration validity)`
    `Element` | STSService.`getToken(Credential headerCredentials, Credential bodyCredentials, List<SAMLAttribute> attributes, List<SAMLAttributeDesignator> designators, String subjectConfirmationMethod, int validity)` Deprecated.
    `Element` | STSService.`getToken(Credential headerCredentials, Credential bodyCredentials, List<SAMLAttribute> attributes, List<SAMLAttributeDesignator> designators, String authenticationMethod, String nameQualifier, String value, String subjectConfirmationMethod, Duration validity)`
    `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)`
    `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.`getToken(Credential headerCredentials, Credential bodyCredentials, List<SAMLAttribute> attributes, List<SAMLAttributeDesignator> designators, String subjectConfirmationMethod, Duration validity)`
    `Element` | STSServiceImpl.`getToken(Credential headerCredentials, Credential bodyCredentials, List<SAMLAttribute> attributes, List<SAMLAttributeDesignator> designators, String subjectConfirmationMethod, Duration validity)`
    `Element` | AbstractSTSService.`getToken(Credential headerCredentials, Credential bodyCredentials, List<SAMLAttribute> attributes, List<SAMLAttributeDesignator> designators, String subjectConfirmationMethod, int validity)`
    `Element` | STSServiceWsTrustImpl.`getToken(Credential headerCredentials, Credential bodyCredentials, List<SAMLAttribute> attributes, List<SAMLAttributeDesignator> designators, String authenticationMethod, String nameQualifier, String value, String subjectConfirmationMethod, Duration validity)`
    `Element` | STSServiceImpl.`getToken(Credential headerCredentials, Credential bodyCredentials, List<SAMLAttribute> attributes, List<SAMLAttributeDesignator> designators, String authenticationMethod, String nameQualifier, String value, String subjectConfirmationMethod, Duration validity)`
    `Element` | AbstractSTSService.`getToken(Credential headerCredentials, Credential bodyCredentials, List<SAMLAttribute> attributes, List<SAMLAttributeDesignator> designators, String authenticationMethod, String nameQualifier, String value, String subjectConfirmationMethod, int validity)`
    `Element` | STSServiceWsTrustImpl.`renewToken(Credential headerCredentials, Credential bodyCredentials, Element samlToken, Duration validity)`
    `Element` | STSServiceImpl.`renewToken(Credential headerCredentials, Credential bodyCredentials, Element samlToken, Duration validity)`
    `Element` | AbstractSTSService.`renewToken(Credential headerCredentials, Credential bodyCredentials, Element samlToken, int 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` | `SAMLToken` The Interface SAMLToken.

  - ### 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` | `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` | `SAMLHolderOfKeyToken` The Class SAMLTokenImpl.
    `class` | `SAMLSenderVouchesCredential` SAMLSenderVouchesCredential.

    Constructors in be.ehealth.technicalconnector.service.sts.security.impl with parameters of type Credential
    Constructor and Description
    `AbstractSAMLToken(Element assertion, Credential credential)`
    `SAMLHolderOfKeyToken(Element assertion, Credential credential)` Instantiates a new sAML token impl.
    `SAMLSenderVouchesCredential(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` | SessionItem.`getEncryptionCredential()` Gets the personal credential.
    `Credential` | SessionItem.`getHeaderCredential()`
    `Credential` | SessionItem.`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()`
    `Credential` | SessionItemImpl.`getHeaderCredential()`
    `Credential` | SessionItemImpl.`getHolderOfKeyCredential()`

    Methods in be.ehealth.technicalconnector.session.impl with parameters of type Credential
    Modifier and Type | Method and Description
    --- | ---
    `void` | SessionItemImpl.`setEncryptionCredential(Credential encryptionCredential)`
    `void` | SessionItemImpl.`setHeaderCredential(Credential headerCredential)`
    `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.distributedkeys.proxy

    Constructors in be.fgov.ehealth.technicalconnector.distributedkeys.proxy with parameters of type Credential
    Constructor and Description
    `CredentialProxy(Credential cred)`

  - ### 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 PERSDIETICIAN 4.4.0 API
Copyright © {inceptionYear}-2023 eHealth. All Rights Reserved.