public class ExtendedDefaultSecurityConfigurationBootstrap extends DefaultSecurityConfigurationBootstrap
DefaultSecurityConfigurationBootstrap with support for key agreement and key derivation
algorithms.| Modifier | Constructor and Description |
|---|---|
protected |
ExtendedDefaultSecurityConfigurationBootstrap()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected static EncryptedKeyResolver |
buildBasicEncryptedKeyResolver()
Build a basic instance of
EncryptedKeyResolver. |
static NamedKeyInfoGeneratorManager |
buildBasicKeyInfoGeneratorManager()
Build a basic
NamedKeyInfoGeneratorManager. |
static NamedKeyInfoGeneratorManager |
buildBasicKeyInfoGeneratorManager(NamedKeyInfoGeneratorManager manager)
Build a basic
NamedKeyInfoGeneratorManager. |
static BasicExtendedEncryptionConfiguration |
buildDefaultEncryptionConfiguration()
Build and return a default encryption configuration.
|
static BasicExtendedEncryptionConfiguration |
buildDefaultEncryptionConfiguration(EncryptionConfiguration config)
Builds an
ExtendedEncryptionConfiguration object based on the supplied EncryptionConfiguration
object. |
static KeyAgreementKeyInfoGeneratorFactory |
buildDefaultKeyAgreementKeyInfoGeneratorFactory()
Creates a
KeyAgreementKeyInfoGeneratorFactory with default settings. |
static BasicSignatureSigningConfiguration |
buildDefaultSignatureSigningConfiguration()
Extends
DefaultSecurityConfigurationBootstrap.buildDefaultSignatureSigningConfiguration() with
http://www.w3.org/2007/05/xmldsig-more#sha256-rsa-MGF1, http://www.w3.org/2007/05/xmldsig-more#sha384-rsa-MGF1 and
http://www.w3.org/2007/05/xmldsig-more#sha512-rsa-MGF1. |
static BasicSignatureSigningConfiguration |
buildDefaultSignatureSigningConfiguration(SignatureSigningConfiguration config)
Given a
SignatureSigningConfiguration the method ensures that the signature algorithms
http://www.w3.org/2007/05/xmldsig-more#sha256-rsa-MGF1, http://www.w3.org/2007/05/xmldsig-more#sha384-rsa-MGF1 and
http://www.w3.org/2007/05/xmldsig-more#sha512-rsa-MGF1 are among the signature algorithms and returns a
BasicSignatureSigningConfiguration object. |
buildBasicInlineKeyInfoCredentialResolver, buildDataEncryptionKeyInfoGeneratorManager, buildDefaultDecryptionConfiguration, buildDefaultSignatureValidationConfiguration, buildKeyTransportEncryptionKeyInfoGeneratorManager, buildSignatureKeyInfoGeneratorManagerprotected ExtendedDefaultSecurityConfigurationBootstrap()
@Nonnull public static BasicExtendedEncryptionConfiguration buildDefaultEncryptionConfiguration()
public static BasicExtendedEncryptionConfiguration buildDefaultEncryptionConfiguration(EncryptionConfiguration config)
ExtendedEncryptionConfiguration object based on the supplied EncryptionConfiguration
object.config - the config to start fromExtendedEncryptionConfiguration objectpublic static BasicSignatureSigningConfiguration buildDefaultSignatureSigningConfiguration()
DefaultSecurityConfigurationBootstrap.buildDefaultSignatureSigningConfiguration() with
http://www.w3.org/2007/05/xmldsig-more#sha256-rsa-MGF1, http://www.w3.org/2007/05/xmldsig-more#sha384-rsa-MGF1 and
http://www.w3.org/2007/05/xmldsig-more#sha512-rsa-MGF1.public static BasicSignatureSigningConfiguration buildDefaultSignatureSigningConfiguration(SignatureSigningConfiguration config)
SignatureSigningConfiguration the method ensures that the signature algorithms
http://www.w3.org/2007/05/xmldsig-more#sha256-rsa-MGF1, http://www.w3.org/2007/05/xmldsig-more#sha384-rsa-MGF1 and
http://www.w3.org/2007/05/xmldsig-more#sha512-rsa-MGF1 are among the signature algorithms and returns a
BasicSignatureSigningConfiguration object.config - the configurationprotected static EncryptedKeyResolver buildBasicEncryptedKeyResolver()
EncryptedKeyResolver. Extends the one from
DefaultSecurityConfigurationBootstrap with EncryptedElementTypeEncryptedKeyResolver.public static NamedKeyInfoGeneratorManager buildBasicKeyInfoGeneratorManager()
NamedKeyInfoGeneratorManager.public static NamedKeyInfoGeneratorManager buildBasicKeyInfoGeneratorManager(NamedKeyInfoGeneratorManager manager)
NamedKeyInfoGeneratorManager.manager - the manager to extendpublic static KeyAgreementKeyInfoGeneratorFactory buildDefaultKeyAgreementKeyInfoGeneratorFactory()
KeyAgreementKeyInfoGeneratorFactory with default settings.KeyAgreementKeyInfoGeneratorFactory instanceCopyright © 2020 Sweden Connect. All rights reserved.