Modifier and Type | Method and Description |
---|---|
AbstractWsSecurityHandler.WSSecHeaderGeneratorStep3 |
AbstractWsSecurityHandler.WSSecHeaderGeneratorStep2.withBinarySecurityToken(Credential cred) |
Constructor and Description |
---|
CertificateCallback(Credential cred)
Instantiates a new x509 handler
|
Constructor and Description |
---|
WSSecurityCrypto(Credential cred) |
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:
|
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.
|
Constructor and Description |
---|
KgssMessageBuilderImpl(byte[] etkKgss,
Credential encryptionCredential,
Map<String,PrivateKey> decryptionKeys)
Instantiates a new kGSS util.
|
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.
|
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.
|
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) |
Modifier and Type | Interface and Description |
---|---|
interface |
ExtendedCredential
Extension of a
Credential |
interface |
SAMLToken
The Interface SAMLToken.
|
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.
|
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
|
Modifier and Type | Method and Description |
---|---|
Credential |
SessionItem.getEncryptionCredential()
Gets the personal credential.
|
Credential |
SessionItem.getHeaderCredential() |
Credential |
SessionItem.getHolderOfKeyCredential()
Gets the system 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.
|
Modifier and Type | Method and Description |
---|---|
Credential |
SessionItemImpl.getEncryptionCredential() |
Credential |
SessionItemImpl.getHeaderCredential() |
Credential |
SessionItemImpl.getHolderOfKeyCredential() |
Modifier and Type | Method and Description |
---|---|
void |
SessionItemImpl.setEncryptionCredential(Credential encryptionCredential) |
void |
SessionItemImpl.setHeaderCredential(Credential headerCredential) |
void |
SessionItemImpl.setHolderOfKeyCredential(Credential hokCredential) |
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.
|
Modifier and Type | Method and Description |
---|---|
static Credential |
SessionUtil.getCredentail(CryptoType type,
Credential defaultCredential) |
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
|
Constructor and Description |
---|
CredentialProxy(Credential cred) |
Modifier and Type | Method and Description |
---|---|
static EncryptionTokenBuilder.EncryptionTokenBuilderStep |
BuilderFactory.newEncryptionTokenBuilder(Credential cred)
Builder for generating an EncryptionToken
|
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) |
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) |
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) |
Modifier and Type | Method and Description |
---|---|
byte[] |
SignatureBuilder.sign(Credential signatureCredential,
byte[] byteArrayToSign) |
byte[] |
SignatureBuilder.sign(Credential signatureCredential,
byte[] byteArrayToSign,
Map<String,Object> options) |
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) |
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) |
Constructor and Description |
---|
XadesHandler(org.apache.xml.security.signature.XMLSignature sig,
Credential signatureCredential,
Map<String,Object> options,
XadesSpecification... specs) |
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 TECHNICAL 4.1.2 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.