From ecd37c4854784b63c95d09fd2eb527ee26b25037 Mon Sep 17 00:00:00 2001 From: Stefan Santesson Date: Thu, 15 Nov 2018 00:40:59 +0100 Subject: [PATCH] 1.1.0 release --- .../1.1.0/allclasses-frame.html | 33 + .../1.1.0/allclasses-noframe.html | 33 + .../1.1.0/constant-values.html | 155 +++++ .../1.1.0/deprecated-list.html | 148 +++++ docs/javadoc-versions/1.1.0/help-doc.html | 231 +++++++ docs/javadoc-versions/1.1.0/index-all.html | 472 ++++++++++++++ docs/javadoc-versions/1.1.0/index.html | 76 +++ .../1.1.0/overview-frame.html | 26 + .../1.1.0/overview-summary.html | 156 +++++ .../javadoc-versions/1.1.0/overview-tree.html | 177 +++++ docs/javadoc-versions/1.1.0/package-list | 5 + docs/javadoc-versions/1.1.0/script.js | 30 + .../opensaml/pkcs11/PKCS11Provider.html | 279 ++++++++ .../pkcs11/PKCS11ProviderFactory.html | 321 ++++++++++ .../pkcs11/class-use/PKCS11Provider.html | 210 ++++++ .../class-use/PKCS11ProviderFactory.html | 126 ++++ .../PKCS11ProvidedCfgConfiguration.html | 336 ++++++++++ .../PKCS11ProviderConfiguration.html | 603 ++++++++++++++++++ .../PKCS11SoftHsmProviderConfiguration.html | 389 +++++++++++ .../SoftHsmCredentialConfiguration.html | 431 +++++++++++++ .../PKCS11ProvidedCfgConfiguration.html | 167 +++++ .../PKCS11ProviderConfiguration.html | 225 +++++++ .../PKCS11SoftHsmProviderConfiguration.html | 167 +++++ .../SoftHsmCredentialConfiguration.html | 209 ++++++ .../pkcs11/configuration/package-frame.html | 24 + .../pkcs11/configuration/package-summary.html | 164 +++++ .../pkcs11/configuration/package-tree.html | 145 +++++ .../pkcs11/configuration/package-use.html | 223 +++++++ .../pkcs11/credential/PKCS11Credential.html | 448 +++++++++++++ .../credential/PKCS11NoTestCredential.html | 395 ++++++++++++ .../class-use/PKCS11Credential.html | 169 +++++ .../class-use/PKCS11NoTestCredential.html | 126 ++++ .../pkcs11/credential/package-frame.html | 22 + .../pkcs11/credential/package-summary.html | 154 +++++ .../pkcs11/credential/package-tree.html | 155 +++++ .../pkcs11/credential/package-use.html | 162 +++++ .../opensaml/pkcs11/package-frame.html | 25 + .../opensaml/pkcs11/package-summary.html | 163 +++++ .../opensaml/pkcs11/package-tree.html | 143 +++++ .../opensaml/pkcs11/package-use.html | 182 ++++++ .../providerimpl/GenericPKCS11Provider.html | 355 +++++++++++ .../PKCS11ExternalCfgProvider.html | 339 ++++++++++ .../providerimpl/PKCS11NullProvider.html | 307 +++++++++ .../providerimpl/PKCS11ProviderInstance.html | 243 +++++++ .../providerimpl/PKCS11SoftHsmProvider.html | 425 ++++++++++++ .../class-use/GenericPKCS11Provider.html | 126 ++++ .../class-use/PKCS11ExternalCfgProvider.html | 126 ++++ .../class-use/PKCS11NullProvider.html | 126 ++++ .../class-use/PKCS11ProviderInstance.html | 227 +++++++ .../class-use/PKCS11SoftHsmProvider.html | 126 ++++ .../pkcs11/providerimpl/package-frame.html | 28 + .../pkcs11/providerimpl/package-summary.html | 181 ++++++ .../pkcs11/providerimpl/package-tree.html | 146 +++++ .../pkcs11/providerimpl/package-use.html | 182 ++++++ .../opensaml/pkcs11/utils/StringUtils.html | 305 +++++++++ .../pkcs11/utils/class-use/StringUtils.html | 126 ++++ .../opensaml/pkcs11/utils/package-frame.html | 21 + .../pkcs11/utils/package-summary.html | 146 +++++ .../opensaml/pkcs11/utils/package-tree.html | 139 ++++ .../opensaml/pkcs11/utils/package-use.html | 126 ++++ docs/javadoc-versions/1.1.0/stylesheet.css | 574 +++++++++++++++++ docs/javadoc/allclasses-frame.html | 7 +- docs/javadoc/allclasses-noframe.html | 7 +- docs/javadoc/constant-values.html | 8 +- docs/javadoc/deprecated-list.html | 30 +- docs/javadoc/help-doc.html | 8 +- docs/javadoc/index-all.html | 41 +- docs/javadoc/index.html | 4 +- docs/javadoc/overview-frame.html | 6 +- docs/javadoc/overview-summary.html | 10 +- docs/javadoc/overview-tree.html | 9 +- .../opensaml/pkcs11/PKCS11Provider.html | 8 +- .../pkcs11/PKCS11ProviderFactory.html | 38 +- .../pkcs11/class-use/PKCS11Provider.html | 8 +- .../class-use/PKCS11ProviderFactory.html | 8 +- .../PKCS11ProvidedCfgConfiguration.html | 8 +- .../PKCS11ProviderConfiguration.html | 8 +- .../PKCS11SoftHsmProviderConfiguration.html | 8 +- .../SoftHsmCredentialConfiguration.html | 8 +- .../PKCS11ProvidedCfgConfiguration.html | 11 +- .../PKCS11ProviderConfiguration.html | 17 +- .../PKCS11SoftHsmProviderConfiguration.html | 11 +- .../SoftHsmCredentialConfiguration.html | 13 +- .../pkcs11/configuration/package-frame.html | 6 +- .../pkcs11/configuration/package-summary.html | 8 +- .../pkcs11/configuration/package-tree.html | 8 +- .../pkcs11/configuration/package-use.html | 8 +- .../pkcs11/credential/PKCS11Credential.html | 20 +- .../credential/PKCS11NoTestCredential.html | 17 +- .../class-use/PKCS11Credential.html | 8 +- .../class-use/PKCS11NoTestCredential.html | 8 +- .../pkcs11/credential/package-frame.html | 6 +- .../pkcs11/credential/package-summary.html | 8 +- .../pkcs11/credential/package-tree.html | 8 +- .../pkcs11/credential/package-use.html | 8 +- .../opensaml/pkcs11/package-frame.html | 6 +- .../opensaml/pkcs11/package-summary.html | 8 +- .../opensaml/pkcs11/package-tree.html | 8 +- .../opensaml/pkcs11/package-use.html | 8 +- .../providerimpl/GenericPKCS11Provider.html | 28 +- .../PKCS11ExternalCfgProvider.html | 26 +- .../providerimpl/PKCS11NullProvider.html | 12 +- .../providerimpl/PKCS11ProviderInstance.html | 243 +++++++ .../providerimpl/PKCS11SoftHsmProvider.html | 34 +- .../class-use/GenericPKCS11Provider.html | 8 +- .../class-use/PKCS11ExternalCfgProvider.html | 8 +- .../class-use/PKCS11NullProvider.html | 8 +- .../class-use/PKCS11ProviderInstance.html | 227 +++++++ .../class-use/PKCS11SoftHsmProvider.html | 8 +- .../pkcs11/providerimpl/package-frame.html | 10 +- .../pkcs11/providerimpl/package-summary.html | 25 +- .../pkcs11/providerimpl/package-tree.html | 12 +- .../pkcs11/providerimpl/package-use.html | 66 +- .../opensaml/pkcs11/utils/StringUtils.html | 8 +- .../pkcs11/utils/class-use/StringUtils.html | 8 +- .../opensaml/pkcs11/utils/package-frame.html | 6 +- .../pkcs11/utils/package-summary.html | 8 +- .../opensaml/pkcs11/utils/package-tree.html | 8 +- .../opensaml/pkcs11/utils/package-use.html | 8 +- docs/site/dependencies.html | 137 +++- docs/site/dependency-convergence.html | 8 +- docs/site/dependency-info.html | 22 +- docs/site/distribution-management.html | 8 +- docs/site/index.html | 8 +- docs/site/license.html | 8 +- docs/site/plugin-management.html | 12 +- docs/site/plugins.html | 28 +- docs/site/project-info.html | 8 +- docs/site/project-summary.html | 10 +- docs/site/source-repository.html | 8 +- docs/site/team-list.html | 8 +- 131 files changed, 13197 insertions(+), 327 deletions(-) create mode 100644 docs/javadoc-versions/1.1.0/allclasses-frame.html create mode 100644 docs/javadoc-versions/1.1.0/allclasses-noframe.html create mode 100644 docs/javadoc-versions/1.1.0/constant-values.html create mode 100644 docs/javadoc-versions/1.1.0/deprecated-list.html create mode 100644 docs/javadoc-versions/1.1.0/help-doc.html create mode 100644 docs/javadoc-versions/1.1.0/index-all.html create mode 100644 docs/javadoc-versions/1.1.0/index.html create mode 100644 docs/javadoc-versions/1.1.0/overview-frame.html create mode 100644 docs/javadoc-versions/1.1.0/overview-summary.html create mode 100644 docs/javadoc-versions/1.1.0/overview-tree.html create mode 100644 docs/javadoc-versions/1.1.0/package-list create mode 100644 docs/javadoc-versions/1.1.0/script.js create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/PKCS11Provider.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/PKCS11ProviderFactory.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/class-use/PKCS11Provider.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/class-use/PKCS11ProviderFactory.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/PKCS11ProvidedCfgConfiguration.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/PKCS11ProviderConfiguration.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/PKCS11SoftHsmProviderConfiguration.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/SoftHsmCredentialConfiguration.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/class-use/PKCS11ProvidedCfgConfiguration.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/class-use/PKCS11ProviderConfiguration.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/class-use/PKCS11SoftHsmProviderConfiguration.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/class-use/SoftHsmCredentialConfiguration.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/package-frame.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/package-summary.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/package-tree.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/package-use.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/PKCS11Credential.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/PKCS11NoTestCredential.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/class-use/PKCS11Credential.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/class-use/PKCS11NoTestCredential.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/package-frame.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/package-summary.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/package-tree.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/package-use.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/package-frame.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/package-summary.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/package-tree.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/package-use.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/GenericPKCS11Provider.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/PKCS11ExternalCfgProvider.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/PKCS11NullProvider.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/PKCS11ProviderInstance.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/PKCS11SoftHsmProvider.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/GenericPKCS11Provider.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/PKCS11ExternalCfgProvider.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/PKCS11NullProvider.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/PKCS11ProviderInstance.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/PKCS11SoftHsmProvider.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/package-frame.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/package-summary.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/package-tree.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/package-use.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/utils/StringUtils.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/utils/class-use/StringUtils.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/utils/package-frame.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/utils/package-summary.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/utils/package-tree.html create mode 100644 docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/utils/package-use.html create mode 100644 docs/javadoc-versions/1.1.0/stylesheet.css create mode 100644 docs/javadoc/se/swedenconnect/opensaml/pkcs11/providerimpl/PKCS11ProviderInstance.html create mode 100644 docs/javadoc/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/PKCS11ProviderInstance.html diff --git a/docs/javadoc-versions/1.1.0/allclasses-frame.html b/docs/javadoc-versions/1.1.0/allclasses-frame.html new file mode 100644 index 0000000..3d7971b --- /dev/null +++ b/docs/javadoc-versions/1.1.0/allclasses-frame.html @@ -0,0 +1,33 @@ + + + + + + +All Classes (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + +

All Classes

+
+ +
+ + diff --git a/docs/javadoc-versions/1.1.0/allclasses-noframe.html b/docs/javadoc-versions/1.1.0/allclasses-noframe.html new file mode 100644 index 0000000..cdd63df --- /dev/null +++ b/docs/javadoc-versions/1.1.0/allclasses-noframe.html @@ -0,0 +1,33 @@ + + + + + + +All Classes (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + +

All Classes

+
+ +
+ + diff --git a/docs/javadoc-versions/1.1.0/constant-values.html b/docs/javadoc-versions/1.1.0/constant-values.html new file mode 100644 index 0000000..b5ebfa6 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/constant-values.html @@ -0,0 +1,155 @@ + + + + + + +Constant Field Values (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Constant Field Values

+

Contents

+ +
+
+ + +

se.swedenconnect.*

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/deprecated-list.html b/docs/javadoc-versions/1.1.0/deprecated-list.html new file mode 100644 index 0000000..a23c7dc --- /dev/null +++ b/docs/javadoc-versions/1.1.0/deprecated-list.html @@ -0,0 +1,148 @@ + + + + + + +Deprecated List (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Deprecated API

+

Contents

+ +
+
+ + + +
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/help-doc.html b/docs/javadoc-versions/1.1.0/help-doc.html new file mode 100644 index 0000000..dc05f6e --- /dev/null +++ b/docs/javadoc-versions/1.1.0/help-doc.html @@ -0,0 +1,231 @@ + + + + + + +API Help (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+ +This help file applies to API documentation generated using the standard doclet.
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/index-all.html b/docs/javadoc-versions/1.1.0/index-all.html new file mode 100644 index 0000000..f2aa78e --- /dev/null +++ b/docs/javadoc-versions/1.1.0/index-all.html @@ -0,0 +1,472 @@ + + + + + + +Index (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
C G H L N P S T  + + +

C

+
+
createInstance() - Method in class se.swedenconnect.opensaml.pkcs11.PKCS11ProviderFactory
+
+
Creates a PKCS11Provider instance given the factory's configuration.
+
+
+ + + +

G

+
+
GenericPKCS11Provider - Class in se.swedenconnect.opensaml.pkcs11.providerimpl
+
+
PKCS#11 provider for the general case.
+
+
GenericPKCS11Provider(String, String, String, Integer, Integer, PKCS11ProviderInstance) - Constructor for class se.swedenconnect.opensaml.pkcs11.providerimpl.GenericPKCS11Provider
+
+
Constructor setting up the provider.
+
+
GenericPKCS11Provider(PKCS11ProviderConfiguration, PKCS11ProviderInstance) - Constructor for class se.swedenconnect.opensaml.pkcs11.providerimpl.GenericPKCS11Provider
+
+
Constructor taking a PKCS11ProviderConfiguration to configure the provider
+
+
getAliasList() - Method in class se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11SoftHsmProvider
+
+
Returns the key aliases
+
+
getCert(File) - Static method in class se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11SoftHsmProvider
+
 
+
getCertificateMap() - Method in class se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11SoftHsmProvider
+
+
Returns a map of aliases and associated certificates.
+
+
getCertLocation() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.SoftHsmCredentialConfiguration
+
+
Getter for the credential certificate location.
+
+
getConfigLocationList() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProvidedCfgConfiguration
+
+
Getter for the list of PKCS#11 provider configuration files.
+
+
getCredentialConfigurationList() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11SoftHsmProviderConfiguration
+
+
Returns the cofniguration data for keys and certificates that should be loaded by the SoftHSM provider.
+
+
getCurrentKeyProvider() - Method in class se.swedenconnect.opensaml.pkcs11.credential.PKCS11Credential
+
+
Get the provider of the most recently selected private key.
+
+
getKeyLocation() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.SoftHsmCredentialConfiguration
+
+
Getter for the credential key location.
+
+
getLibrary() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
+
+
Returns the path to the pkcs11 library on the host to use for the provider.
+
+
getName() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
+
+
Returns the name of the HSM slot.
+
+
getName() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.SoftHsmCredentialConfiguration
+
+
Getter for the name of the credential key.
+
+
getPin() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11SoftHsmProviderConfiguration
+
+
Returns the PIN needed to write the key.
+
+
getPrivateKey() - Method in class se.swedenconnect.opensaml.pkcs11.credential.PKCS11Credential
+
+
Overrides the default method to get the private key and adds a key test before the private key is extracted and + returned.
+
+
getPrivateKey() - Method in class se.swedenconnect.opensaml.pkcs11.credential.PKCS11NoTestCredential
+
+
Overrides the default method to get an random available private key from any of the configured PKCS#11 providers.
+
+
getProviderInstance(String) - Method in interface se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11ProviderInstance
+
+
Create an instance of a SunPKCS11 provider
+
+
getProviderNameList() - Method in interface se.swedenconnect.opensaml.pkcs11.PKCS11Provider
+
+
Returns the names of the PKCS#11 security provider.
+
+
getProviderNameList() - Method in class se.swedenconnect.opensaml.pkcs11.providerimpl.GenericPKCS11Provider
+
+
Returns the names of the PKCS#11 security provider.
+
+
getProviderNameList() - Method in class se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11ExternalCfgProvider
+
+
Returns the names of the PKCS#11 security provider.
+
+
getProviderNameList() - Method in class se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11NullProvider
+
+
Returns the names of the PKCS#11 security provider.
+
+
getProviderNameList() - Method in class se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11SoftHsmProvider
+
+
Returns the names of the PKCS#11 security provider.
+
+
getRandomProviderFromPool() - Method in class se.swedenconnect.opensaml.pkcs11.credential.PKCS11Credential
+
 
+
getSlot() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
+
+
Returns the slot number to use.
+
+
getSlotListIndex() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
+
+
Returns the slot list index to use.
+
+
getSlotListIndexMaxRange() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
+
+
Returns the maximum range of slot list indexes to traverse, starting from the active slotListIndex.
+
+
getTrimmedIfNotNull(String) - Static method in class se.swedenconnect.opensaml.pkcs11.utils.StringUtils
+
+
Returns the trimmed string if present.
+
+
+ + + +

H

+
+
hasText(String) - Static method in class se.swedenconnect.opensaml.pkcs11.utils.StringUtils
+
+
Test if a String has a value and is not null.
+
+
+ + + +

L

+
+
library - Variable in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
+
+
The pkcs11 library on the host to use.
+
+
+ + + +

N

+
+
name - Variable in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
+
+
The name of the HSM slot.
+
+
+ + + +

P

+
+
PKCS11Credential - Class in se.swedenconnect.opensaml.pkcs11.credential
+
+
This credential class extends the OpenSAML BasicX509Credential and provides an auto-reloadable credential for + PKCS#11 keys.
+
+
PKCS11Credential(X509Certificate, List<String>, String, String) - Constructor for class se.swedenconnect.opensaml.pkcs11.credential.PKCS11Credential
+
+
Initializes the PKCS#11 credential.
+
+
PKCS11ExternalCfgProvider - Class in se.swedenconnect.opensaml.pkcs11.providerimpl
+
+
PKCS#11 provider for the case when provider configuration is provided as external files.
+
+
PKCS11ExternalCfgProvider(PKCS11ProvidedCfgConfiguration, PKCS11ProviderInstance) - Constructor for class se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11ExternalCfgProvider
+
+
Constructor for setting up the provider.
+
+
PKCS11ExternalCfgProvider(List<String>, PKCS11ProviderInstance) - Constructor for class se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11ExternalCfgProvider
+
+
Constructor setting up the provider.
+
+
PKCS11NoTestCredential - Class in se.swedenconnect.opensaml.pkcs11.credential
+
+
This credential class extends the OpenSAML BasicX509Credential and provides simple credentials for PKCS#11 + keys based on one or more configured providers.
+
+
PKCS11NoTestCredential(X509Certificate, List<String>, String, String) - Constructor for class se.swedenconnect.opensaml.pkcs11.credential.PKCS11NoTestCredential
+
+
Initializes the PKCS#11 credential.
+
+
PKCS11NullProvider - Class in se.swedenconnect.opensaml.pkcs11.providerimpl
+
+
Null PKCS#11 provider.
+
+
PKCS11NullProvider() - Constructor for class se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11NullProvider
+
 
+
PKCS11ProvidedCfgConfiguration - Class in se.swedenconnect.opensaml.pkcs11.configuration
+
+
Configuration object for setting up PKCS#11 providers based on external cfg file.
+
+
PKCS11ProvidedCfgConfiguration(List<String>) - Constructor for class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProvidedCfgConfiguration
+
+
Constructor.
+
+
PKCS11Provider - Interface in se.swedenconnect.opensaml.pkcs11
+
+
Marker interface for a PKCS#11 provider.
+
+
PKCS11ProviderConfiguration - Class in se.swedenconnect.opensaml.pkcs11.configuration
+
+
Configuration class for setting up a PKCS#11 provider.
+
+
PKCS11ProviderConfiguration() - Constructor for class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
+
 
+
PKCS11ProviderFactory - Class in se.swedenconnect.opensaml.pkcs11
+
+
Factory class for creating an instance of a PKCS11 provider based on provided configuration data.
+
+
PKCS11ProviderFactory(PKCS11ProviderConfiguration, PKCS11ProviderInstance) - Constructor for class se.swedenconnect.opensaml.pkcs11.PKCS11ProviderFactory
+
+
Constructor.
+
+
PKCS11ProviderFactory(PKCS11ProviderConfiguration) - Constructor for class se.swedenconnect.opensaml.pkcs11.PKCS11ProviderFactory
+
+
Deprecated.
+
+
PKCS11ProviderInstance - Interface in se.swedenconnect.opensaml.pkcs11.providerimpl
+
+
This inteface covers for the fact that instantiation of SunPKCS11 is performed differently in Java 8 and Java 9+.
+
+
PKCS11SoftHsmProvider - Class in se.swedenconnect.opensaml.pkcs11.providerimpl
+
+
Utility class for loading keys from a key directory into a PKCS11 Soft HSM slot.
+
+
PKCS11SoftHsmProvider(List<SoftHsmCredentialConfiguration>, String, String, String, PKCS11ProviderInstance) - Constructor for class se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11SoftHsmProvider
+
+
The constructor checks the specified key folder and forms a list of aliases of keys that can be imported.
+
+
PKCS11SoftHsmProvider(PKCS11SoftHsmProviderConfiguration, PKCS11ProviderInstance) - Constructor for class se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11SoftHsmProvider
+
+
Constructor taking a PKCS11SoftHsmProviderConfiguration.
+
+
PKCS11SoftHsmProviderConfiguration - Class in se.swedenconnect.opensaml.pkcs11.configuration
+
+
Configuration class for setting up SoftHSM.
+
+
PKCS11SoftHsmProviderConfiguration() - Constructor for class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11SoftHsmProviderConfiguration
+
 
+
privateKeyMap - Variable in class se.swedenconnect.opensaml.pkcs11.credential.PKCS11Credential
+
 
+
+ + + +

S

+
+
se.swedenconnect.opensaml.pkcs11 - package se.swedenconnect.opensaml.pkcs11
+
 
+
se.swedenconnect.opensaml.pkcs11.configuration - package se.swedenconnect.opensaml.pkcs11.configuration
+
 
+
se.swedenconnect.opensaml.pkcs11.credential - package se.swedenconnect.opensaml.pkcs11.credential
+
 
+
se.swedenconnect.opensaml.pkcs11.providerimpl - package se.swedenconnect.opensaml.pkcs11.providerimpl
+
 
+
se.swedenconnect.opensaml.pkcs11.utils - package se.swedenconnect.opensaml.pkcs11.utils
+
 
+
setCertLocation(String) - Method in class se.swedenconnect.opensaml.pkcs11.configuration.SoftHsmCredentialConfiguration
+
+
Setter for the credential certificate location.
+
+
setCredentialConfigurationList(List<SoftHsmCredentialConfiguration>) - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11SoftHsmProviderConfiguration
+
+
Assigns the directory containing the keys and certificates that should be loaded by the SoftHSM provider.
+
+
setKeyLocation(String) - Method in class se.swedenconnect.opensaml.pkcs11.configuration.SoftHsmCredentialConfiguration
+
+
Setter for credential key location.
+
+
setLibrary(String) - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
+
+
Assigns the path to the pkcs11 library on the host to use for the provider.
+
+
setName(String) - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
+
+
Assigns the name of the HSM slot.
+
+
setName(String) - Method in class se.swedenconnect.opensaml.pkcs11.configuration.SoftHsmCredentialConfiguration
+
+
Setter for the name of the credential key.
+
+
setPin(String) - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11SoftHsmProviderConfiguration
+
+
Assigns the PIN needed to write the key.
+
+
setSlot(String) - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
+
+
Assigns the slot number to use.
+
+
setSlotListIndex(Integer) - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
+
+
Assigns the slot list index to use.
+
+
setSlotListIndexMaxRange(Integer) - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
+
+
Assigns the slot list index max range
+
+
slot - Variable in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
+
+
The slot number to use.
+
+
slotListIndex - Variable in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
+
+
The slot index to use.
+
+
slotListIndexMaxRange - Variable in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
+
+
The maximum number och slots to use starting from the slotListIndex
+
+
SoftHsmCredentialConfiguration - Class in se.swedenconnect.opensaml.pkcs11.configuration
+
+
Configuration Class for setting up key and certificates to be loaded into Soft HSM.
+
+
SoftHsmCredentialConfiguration() - Constructor for class se.swedenconnect.opensaml.pkcs11.configuration.SoftHsmCredentialConfiguration
+
+
Constructor for the Soft HSM key credential.
+
+
SoftHsmCredentialConfiguration(String, String, String) - Constructor for class se.swedenconnect.opensaml.pkcs11.configuration.SoftHsmCredentialConfiguration
+
+
Constructor for the Soft HSM key credential.
+
+
StringUtils - Class in se.swedenconnect.opensaml.pkcs11.utils
+
+
This class performs some simple String functions normally provided by the Spring framework.
+
+
StringUtils() - Constructor for class se.swedenconnect.opensaml.pkcs11.utils.StringUtils
+
 
+
SUN_PROVIDER_PREFIX - Static variable in interface se.swedenconnect.opensaml.pkcs11.PKCS11Provider
+
 
+
+ + + +

T

+
+
toString() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProvidedCfgConfiguration
+
toString() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration
+
toString() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11SoftHsmProviderConfiguration
+
toString() - Method in class se.swedenconnect.opensaml.pkcs11.configuration.SoftHsmCredentialConfiguration
+
+C G H L N P S T 
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/index.html b/docs/javadoc-versions/1.1.0/index.html new file mode 100644 index 0000000..0a23682 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/index.html @@ -0,0 +1,76 @@ + + + + + + +Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0 + + + + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + + diff --git a/docs/javadoc-versions/1.1.0/overview-frame.html b/docs/javadoc-versions/1.1.0/overview-frame.html new file mode 100644 index 0000000..6967d60 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/overview-frame.html @@ -0,0 +1,26 @@ + + + + + + +Overview List (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + +
All Classes
+
+

Packages

+ +
+

 

+ + diff --git a/docs/javadoc-versions/1.1.0/overview-summary.html b/docs/javadoc-versions/1.1.0/overview-summary.html new file mode 100644 index 0000000..fcf5d8e --- /dev/null +++ b/docs/javadoc-versions/1.1.0/overview-summary.html @@ -0,0 +1,156 @@ + + + + + + +Overview (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Packages 
PackageDescription
se.swedenconnect.opensaml.pkcs11 
se.swedenconnect.opensaml.pkcs11.configuration 
se.swedenconnect.opensaml.pkcs11.credential 
se.swedenconnect.opensaml.pkcs11.providerimpl 
se.swedenconnect.opensaml.pkcs11.utils 
+
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/overview-tree.html b/docs/javadoc-versions/1.1.0/overview-tree.html new file mode 100644 index 0000000..1cd65e2 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/overview-tree.html @@ -0,0 +1,177 @@ + + + + + + +Class Hierarchy (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/package-list b/docs/javadoc-versions/1.1.0/package-list new file mode 100644 index 0000000..3507cdf --- /dev/null +++ b/docs/javadoc-versions/1.1.0/package-list @@ -0,0 +1,5 @@ +se.swedenconnect.opensaml.pkcs11 +se.swedenconnect.opensaml.pkcs11.configuration +se.swedenconnect.opensaml.pkcs11.credential +se.swedenconnect.opensaml.pkcs11.providerimpl +se.swedenconnect.opensaml.pkcs11.utils diff --git a/docs/javadoc-versions/1.1.0/script.js b/docs/javadoc-versions/1.1.0/script.js new file mode 100644 index 0000000..b346356 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/PKCS11Provider.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/PKCS11Provider.html new file mode 100644 index 0000000..7a37609 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/PKCS11Provider.html @@ -0,0 +1,279 @@ + + + + + + +PKCS11Provider (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + + +
+
se.swedenconnect.opensaml.pkcs11
+

Interface PKCS11Provider

+
+
+
+ +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getProviderNameList

        +
        List<String> getProviderNameList()
        +
        Returns the names of the PKCS#11 security provider.
        +
        +
        Returns:
        +
        provider name
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/PKCS11ProviderFactory.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/PKCS11ProviderFactory.html new file mode 100644 index 0000000..7caefcc --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/PKCS11ProviderFactory.html @@ -0,0 +1,321 @@ + + + + + + +PKCS11ProviderFactory (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + + +
+
se.swedenconnect.opensaml.pkcs11
+

Class PKCS11ProviderFactory

+
+
+ +
+
    +
  • +
    +
    +
    public class PKCS11ProviderFactory
    +extends Object
    +
    Factory class for creating an instance of a PKCS11 provider based on provided configuration data.
    +
    +
    Author:
    +
    Stefan Santesson (stefan@idsec.se), Martin Lindström (martin@idsec.se)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PKCS11ProviderFactory

        +
        public PKCS11ProviderFactory(PKCS11ProviderConfiguration configuration,
        +                             PKCS11ProviderInstance providerInstance)
        +
        Constructor.
        +
        +
        Parameters:
        +
        configuration - the provider configuration
        +
        providerInstance - Provider instantiation implementation (Depending on runtime Java version)
        +
        +
      • +
      + + + +
        +
      • +

        PKCS11ProviderFactory

        +
        @Deprecated
        +public PKCS11ProviderFactory(PKCS11ProviderConfiguration configuration)
        +
        Deprecated. 
        +
        Deprecated legacy constructor. This constructor is only compatible with java 8 and will not work when called from Java 9+ + + Use the constructor where an instance of PKCS11ProviderInstance providerInstance is provided.
        +
        +
        Parameters:
        +
        configuration - the provider configuration
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        createInstance

        +
        public PKCS11Provider createInstance()
        +                              throws Exception
        +
        Creates a PKCS11Provider instance given the factory's configuration.
        +
        +
        Returns:
        +
        a PKCS11Provider
        +
        Throws:
        +
        Exception - for errors creating the instance
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/class-use/PKCS11Provider.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/class-use/PKCS11Provider.html new file mode 100644 index 0000000..1e391cd --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/class-use/PKCS11Provider.html @@ -0,0 +1,210 @@ + + + + + + +Uses of Interface se.swedenconnect.opensaml.pkcs11.PKCS11Provider (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
se.swedenconnect.opensaml.pkcs11.PKCS11Provider

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/class-use/PKCS11ProviderFactory.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/class-use/PKCS11ProviderFactory.html new file mode 100644 index 0000000..8ed3db1 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/class-use/PKCS11ProviderFactory.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class se.swedenconnect.opensaml.pkcs11.PKCS11ProviderFactory (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
se.swedenconnect.opensaml.pkcs11.PKCS11ProviderFactory

+
+
No usage of se.swedenconnect.opensaml.pkcs11.PKCS11ProviderFactory
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/PKCS11ProvidedCfgConfiguration.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/PKCS11ProvidedCfgConfiguration.html new file mode 100644 index 0000000..fd9de2b --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/PKCS11ProvidedCfgConfiguration.html @@ -0,0 +1,336 @@ + + + + + + +PKCS11ProvidedCfgConfiguration (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + + +
+
se.swedenconnect.opensaml.pkcs11.configuration
+

Class PKCS11ProvidedCfgConfiguration

+
+
+ +
+
    +
  • +
    +
    +
    public class PKCS11ProvidedCfgConfiguration
    +extends PKCS11ProviderConfiguration
    +
    Configuration object for setting up PKCS#11 providers based on external cfg file.
    +
    +
    Author:
    +
    Stefan Santesson (stefan@idsec.se), Martin Lindström (martin@idsec.se)*
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PKCS11ProvidedCfgConfiguration

        +
        public PKCS11ProvidedCfgConfiguration(List<String> configLocationList)
        +
        Constructor.
        +
        +
        Parameters:
        +
        configLocationList - a list of configuration locations
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getConfigLocationList

        +
        public List<String> getConfigLocationList()
        +
        Getter for the list of PKCS#11 provider configuration files.
        +
        +
        Returns:
        +
        List of PKCS#11 provider configuration files.
        +
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/PKCS11ProviderConfiguration.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/PKCS11ProviderConfiguration.html new file mode 100644 index 0000000..529028f --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/PKCS11ProviderConfiguration.html @@ -0,0 +1,603 @@ + + + + + + +PKCS11ProviderConfiguration (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + + +
+
se.swedenconnect.opensaml.pkcs11.configuration
+

Class PKCS11ProviderConfiguration

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    PKCS11ProvidedCfgConfiguration, PKCS11SoftHsmProviderConfiguration
    +
    +
    +
    +
    public class PKCS11ProviderConfiguration
    +extends Object
    +
    Configuration class for setting up a PKCS#11 provider. +

    + It is recommended to supply either slot (number) or slotListIndex, but not both, since if the index and slot supplied + does not match the device's view an error will occur. +

    +
    +
    Author:
    +
    Stefan Santesson (stefan@idsec.se), Martin Lindström (martin@idsec.se)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        library

        +
        protected String library
        +
        The pkcs11 library on the host to use.
        +
      • +
      + + + +
        +
      • +

        name

        +
        protected String name
        +
        The name of the HSM slot.
        +
      • +
      + + + +
        +
      • +

        slot

        +
        protected String slot
        +
        The slot number to use.
        +
      • +
      + + + +
        +
      • +

        slotListIndex

        +
        protected Integer slotListIndex
        +
        The slot index to use.
        +
      • +
      + + + +
        +
      • +

        slotListIndexMaxRange

        +
        protected Integer slotListIndexMaxRange
        +
        The maximum number och slots to use starting from the slotListIndex
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PKCS11ProviderConfiguration

        +
        public PKCS11ProviderConfiguration()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getLibrary

        +
        public String getLibrary()
        +
        Returns the path to the pkcs11 library on the host to use for the provider.
        +
        +
        Returns:
        +
        path to pkcs11 library
        +
        +
      • +
      + + + +
        +
      • +

        setLibrary

        +
        public void setLibrary(String library)
        +
        Assigns the path to the pkcs11 library on the host to use for the provider.
        +
        +
        Parameters:
        +
        library - path to pkcs11 library
        +
        +
      • +
      + + + +
        +
      • +

        getName

        +
        public String getName()
        +
        Returns the name of the HSM slot.
        +
        +
        Returns:
        +
        the name of the HSM slot
        +
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(String name)
        +
        Assigns the name of the HSM slot.
        +
        +
        Parameters:
        +
        name - the name of the HSM slot
        +
        +
      • +
      + + + +
        +
      • +

        getSlot

        +
        public String getSlot()
        +
        Returns the slot number to use. +

        + If null is returned, the device will use the slot entry identified by the active slotListIndex. +

        +
        +
        Returns:
        +
        slot number, or null
        +
        +
      • +
      + + + +
        +
      • +

        setSlot

        +
        public void setSlot(String slot)
        +
        Assigns the slot number to use.
        +
        +
        Parameters:
        +
        slot - slot number
        +
        +
      • +
      + + + +
        +
      • +

        getSlotListIndex

        +
        public Integer getSlotListIndex()
        +
        Returns the slot list index to use. +

        + If no slot list index is assigned (null is returned), the following logic applies: +

        +
          +
        • If slot (getSlot()) is null, the default slot list index 0 will be used.
        • +
        • If slot (getSlot()) is non-null, the slot identified by this slot number will be used.
        • +
        +
        +
        Returns:
        +
        the slot list index
        +
        +
      • +
      + + + +
        +
      • +

        setSlotListIndex

        +
        public void setSlotListIndex(Integer slotListIndex)
        +
        Assigns the slot list index to use.
        +
        +
        Parameters:
        +
        slotListIndex - slot list index
        +
        +
      • +
      + + + +
        +
      • +

        getSlotListIndexMaxRange

        +
        public Integer getSlotListIndexMaxRange()
        +
        Returns the maximum range of slot list indexes to traverse, starting from the active slotListIndex.
        +
        +
        Returns:
        +
        the maximum slot list index range
        +
        +
      • +
      + + + +
        +
      • +

        setSlotListIndexMaxRange

        +
        public void setSlotListIndexMaxRange(Integer slotListIndexMaxRange)
        +
        Assigns the slot list index max range
        +
        +
        Parameters:
        +
        slotListIndexMaxRange - slot list index max range
        +
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/PKCS11SoftHsmProviderConfiguration.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/PKCS11SoftHsmProviderConfiguration.html new file mode 100644 index 0000000..cab6e21 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/PKCS11SoftHsmProviderConfiguration.html @@ -0,0 +1,389 @@ + + + + + + +PKCS11SoftHsmProviderConfiguration (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + + +
+
se.swedenconnect.opensaml.pkcs11.configuration
+

Class PKCS11SoftHsmProviderConfiguration

+
+
+ +
+
    +
  • +
    +
    +
    public class PKCS11SoftHsmProviderConfiguration
    +extends PKCS11ProviderConfiguration
    +
    Configuration class for setting up SoftHSM.
    +
    +
    Author:
    +
    Stefan Santesson (stefan@idsec.se), Martin Lindström (martin@idsec.se)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PKCS11SoftHsmProviderConfiguration

        +
        public PKCS11SoftHsmProviderConfiguration()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getCredentialConfigurationList

        +
        public List<SoftHsmCredentialConfiguration> getCredentialConfigurationList()
        +
        Returns the cofniguration data for keys and certificates that should be loaded by the SoftHSM provider.
        +
        +
        Returns:
        +
        list of soft HSM credential configurations
        +
        +
      • +
      + + + +
        +
      • +

        setCredentialConfigurationList

        +
        public void setCredentialConfigurationList(List<SoftHsmCredentialConfiguration> credentialConfigurationList)
        +
        Assigns the directory containing the keys and certificates that should be loaded by the SoftHSM provider.
        +
        +
        Parameters:
        +
        credentialConfigurationList - list of soft HSM credential configurations
        +
        +
      • +
      + + + +
        +
      • +

        getPin

        +
        public String getPin()
        +
        Returns the PIN needed to write the key.
        +
        +
        Returns:
        +
        PIN for writing key
        +
        +
      • +
      + + + +
        +
      • +

        setPin

        +
        public void setPin(String pin)
        +
        Assigns the PIN needed to write the key.
        +
        +
        Parameters:
        +
        pin - PIN for writing key
        +
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/SoftHsmCredentialConfiguration.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/SoftHsmCredentialConfiguration.html new file mode 100644 index 0000000..d374269 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/SoftHsmCredentialConfiguration.html @@ -0,0 +1,431 @@ + + + + + + +SoftHsmCredentialConfiguration (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + + +
+
se.swedenconnect.opensaml.pkcs11.configuration
+

Class SoftHsmCredentialConfiguration

+
+
+ +
+
    +
  • +
    +
    +
    public class SoftHsmCredentialConfiguration
    +extends Object
    +
    Configuration Class for setting up key and certificates to be loaded into Soft HSM.
    +
    +
    Author:
    +
    Stefan Santesson (stefan@idsec.se), Martin Lindström (martin@idsec.se)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        SoftHsmCredentialConfiguration

        +
        public SoftHsmCredentialConfiguration()
        +
        Constructor for the Soft HSM key credential.
        +
      • +
      + + + +
        +
      • +

        SoftHsmCredentialConfiguration

        +
        public SoftHsmCredentialConfiguration(String name,
        +                                      String keyLocation,
        +                                      String certLocation)
        +
        Constructor for the Soft HSM key credential.
        +
        +
        Parameters:
        +
        name - the name of the key. This name will be part of the PKCS#11 provider name used to access the key through + Soft HSM
        +
        keyLocation - the absolute path to a PEM encoded PKCS#8 key
        +
        certLocation - the absolute path to a PEM encoded X509 certificate for the specified key
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getName

        +
        public String getName()
        +
        Getter for the name of the credential key.
        +
        +
        Returns:
        +
        the key name
        +
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(String name)
        +
        Setter for the name of the credential key.
        +
        +
        Parameters:
        +
        name - the key name
        +
        +
      • +
      + + + +
        +
      • +

        getKeyLocation

        +
        public String getKeyLocation()
        +
        Getter for the credential key location.
        +
        +
        Returns:
        +
        the credential key location
        +
        +
      • +
      + + + +
        +
      • +

        setKeyLocation

        +
        public void setKeyLocation(String keyLocation)
        +
        Setter for credential key location.
        +
        +
        Parameters:
        +
        keyLocation - the credential key location
        +
        +
      • +
      + + + +
        +
      • +

        getCertLocation

        +
        public String getCertLocation()
        +
        Getter for the credential certificate location.
        +
        +
        Returns:
        +
        the credential certificate location
        +
        +
      • +
      + + + +
        +
      • +

        setCertLocation

        +
        public void setCertLocation(String certLocation)
        +
        Setter for the credential certificate location.
        +
        +
        Parameters:
        +
        certLocation - the credential certificate location
        +
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/class-use/PKCS11ProvidedCfgConfiguration.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/class-use/PKCS11ProvidedCfgConfiguration.html new file mode 100644 index 0000000..eef6d48 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/class-use/PKCS11ProvidedCfgConfiguration.html @@ -0,0 +1,167 @@ + + + + + + +Uses of Class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProvidedCfgConfiguration (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProvidedCfgConfiguration

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/class-use/PKCS11ProviderConfiguration.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/class-use/PKCS11ProviderConfiguration.html new file mode 100644 index 0000000..62c9f62 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/class-use/PKCS11ProviderConfiguration.html @@ -0,0 +1,225 @@ + + + + + + +Uses of Class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
se.swedenconnect.opensaml.pkcs11.configuration.PKCS11ProviderConfiguration

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/class-use/PKCS11SoftHsmProviderConfiguration.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/class-use/PKCS11SoftHsmProviderConfiguration.html new file mode 100644 index 0000000..fec4589 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/class-use/PKCS11SoftHsmProviderConfiguration.html @@ -0,0 +1,167 @@ + + + + + + +Uses of Class se.swedenconnect.opensaml.pkcs11.configuration.PKCS11SoftHsmProviderConfiguration (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
se.swedenconnect.opensaml.pkcs11.configuration.PKCS11SoftHsmProviderConfiguration

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/class-use/SoftHsmCredentialConfiguration.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/class-use/SoftHsmCredentialConfiguration.html new file mode 100644 index 0000000..7863ef7 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/class-use/SoftHsmCredentialConfiguration.html @@ -0,0 +1,209 @@ + + + + + + +Uses of Class se.swedenconnect.opensaml.pkcs11.configuration.SoftHsmCredentialConfiguration (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
se.swedenconnect.opensaml.pkcs11.configuration.SoftHsmCredentialConfiguration

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/package-frame.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/package-frame.html new file mode 100644 index 0000000..fee5ff4 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/package-frame.html @@ -0,0 +1,24 @@ + + + + + + +se.swedenconnect.opensaml.pkcs11.configuration (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + +

se.swedenconnect.opensaml.pkcs11.configuration

+
+

Classes

+ +
+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/package-summary.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/package-summary.html new file mode 100644 index 0000000..b8f82ee --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/package-summary.html @@ -0,0 +1,164 @@ + + + + + + +se.swedenconnect.opensaml.pkcs11.configuration (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package se.swedenconnect.opensaml.pkcs11.configuration

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/package-tree.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/package-tree.html new file mode 100644 index 0000000..dc13115 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/package-tree.html @@ -0,0 +1,145 @@ + + + + + + +se.swedenconnect.opensaml.pkcs11.configuration Class Hierarchy (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package se.swedenconnect.opensaml.pkcs11.configuration

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/package-use.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/package-use.html new file mode 100644 index 0000000..2acceab --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/configuration/package-use.html @@ -0,0 +1,223 @@ + + + + + + +Uses of Package se.swedenconnect.opensaml.pkcs11.configuration (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
se.swedenconnect.opensaml.pkcs11.configuration

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/PKCS11Credential.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/PKCS11Credential.html new file mode 100644 index 0000000..050751c --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/PKCS11Credential.html @@ -0,0 +1,448 @@ + + + + + + +PKCS11Credential (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + + +
+
se.swedenconnect.opensaml.pkcs11.credential
+

Class PKCS11Credential

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Credential, MutableCredential, X509Credential
    +
    +
    +
    Direct Known Subclasses:
    +
    PKCS11NoTestCredential
    +
    +
    +
    +
    public class PKCS11Credential
    +extends BasicX509Credential
    +
    This credential class extends the OpenSAML BasicX509Credential and provides an auto-reloadable credential for + PKCS#11 keys. +

    + The class stores the necessary data to reload the key in case the connection to the key in the PKCS"11 token has been + disrupted or lost. +

    + Each time the private key is read from this credential, the private key reference is tested. If the private key can + not be used, an attempt to reload the key is made.

    +
    +
    Author:
    +
    Stefan Santesson (stefan@idsec.se), Martin Lindström (martin@idsec.se)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + + + + + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getRandomProviderFromPool

        +
        protected String getRandomProviderFromPool()
        +
      • +
      + + + +
        +
      • +

        getPrivateKey

        +
        public PrivateKey getPrivateKey()
        +
        Overrides the default method to get the private key and adds a key test before the private key is extracted and + returned. This allows an attempt to reload the key in case the connection to the key was lost.
        +
        +
        Specified by:
        +
        getPrivateKey in interface Credential
        +
        Overrides:
        +
        getPrivateKey in class AbstractCredential
        +
        Returns:
        +
        The tested (and possibly reloaded) private key
        +
        +
      • +
      + + + +
        +
      • +

        getCurrentKeyProvider

        +
        public String getCurrentKeyProvider()
        +
        Get the provider of the most recently selected private key. + +

        Note: This method is mainly intended for logging purposes. It may not be thread safe to rely on this method + unless it is called from within a synchronized method after loading the private key.

        +
        +
        Returns:
        +
        the name of the provider of the most recently loaded private key
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/PKCS11NoTestCredential.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/PKCS11NoTestCredential.html new file mode 100644 index 0000000..c60cae7 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/PKCS11NoTestCredential.html @@ -0,0 +1,395 @@ + + + + + + +PKCS11NoTestCredential (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + + +
+
se.swedenconnect.opensaml.pkcs11.credential
+

Class PKCS11NoTestCredential

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Credential, MutableCredential, X509Credential
    +
    +
    +
    +
    public class PKCS11NoTestCredential
    +extends PKCS11Credential
    +
    This credential class extends the OpenSAML BasicX509Credential and provides simple credentials for PKCS#11 + keys based on one or more configured providers. +

    + This is a simplified extension of the PKCS11Credential class, which do not attempt to reload the key in case the + connection to the key in the PKCS"11 token has been disrupted or lost.

    +
    +
    Author:
    +
    Stefan Santesson (stefan@idsec.se), Martin Lindström (martin@idsec.se)
    +
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/class-use/PKCS11Credential.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/class-use/PKCS11Credential.html new file mode 100644 index 0000000..40cb3a0 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/class-use/PKCS11Credential.html @@ -0,0 +1,169 @@ + + + + + + +Uses of Class se.swedenconnect.opensaml.pkcs11.credential.PKCS11Credential (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
se.swedenconnect.opensaml.pkcs11.credential.PKCS11Credential

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/class-use/PKCS11NoTestCredential.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/class-use/PKCS11NoTestCredential.html new file mode 100644 index 0000000..3ff119d --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/class-use/PKCS11NoTestCredential.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class se.swedenconnect.opensaml.pkcs11.credential.PKCS11NoTestCredential (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
se.swedenconnect.opensaml.pkcs11.credential.PKCS11NoTestCredential

+
+
No usage of se.swedenconnect.opensaml.pkcs11.credential.PKCS11NoTestCredential
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/package-frame.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/package-frame.html new file mode 100644 index 0000000..b4c4911 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/package-frame.html @@ -0,0 +1,22 @@ + + + + + + +se.swedenconnect.opensaml.pkcs11.credential (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + +

se.swedenconnect.opensaml.pkcs11.credential

+
+

Classes

+ +
+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/package-summary.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/package-summary.html new file mode 100644 index 0000000..8936e87 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/package-summary.html @@ -0,0 +1,154 @@ + + + + + + +se.swedenconnect.opensaml.pkcs11.credential (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package se.swedenconnect.opensaml.pkcs11.credential

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/package-tree.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/package-tree.html new file mode 100644 index 0000000..ecc1257 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/package-tree.html @@ -0,0 +1,155 @@ + + + + + + +se.swedenconnect.opensaml.pkcs11.credential Class Hierarchy (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package se.swedenconnect.opensaml.pkcs11.credential

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/package-use.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/package-use.html new file mode 100644 index 0000000..f141c5e --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/credential/package-use.html @@ -0,0 +1,162 @@ + + + + + + +Uses of Package se.swedenconnect.opensaml.pkcs11.credential (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
se.swedenconnect.opensaml.pkcs11.credential

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/package-frame.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/package-frame.html new file mode 100644 index 0000000..e62ca60 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/package-frame.html @@ -0,0 +1,25 @@ + + + + + + +se.swedenconnect.opensaml.pkcs11 (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + +

se.swedenconnect.opensaml.pkcs11

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/package-summary.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/package-summary.html new file mode 100644 index 0000000..e6ba8b0 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/package-summary.html @@ -0,0 +1,163 @@ + + + + + + +se.swedenconnect.opensaml.pkcs11 (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package se.swedenconnect.opensaml.pkcs11

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/package-tree.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/package-tree.html new file mode 100644 index 0000000..f42bacf --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/package-tree.html @@ -0,0 +1,143 @@ + + + + + + +se.swedenconnect.opensaml.pkcs11 Class Hierarchy (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package se.swedenconnect.opensaml.pkcs11

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/package-use.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/package-use.html new file mode 100644 index 0000000..d146577 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/package-use.html @@ -0,0 +1,182 @@ + + + + + + +Uses of Package se.swedenconnect.opensaml.pkcs11 (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
se.swedenconnect.opensaml.pkcs11

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/GenericPKCS11Provider.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/GenericPKCS11Provider.html new file mode 100644 index 0000000..c645e8d --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/GenericPKCS11Provider.html @@ -0,0 +1,355 @@ + + + + + + +GenericPKCS11Provider (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + + +
+
se.swedenconnect.opensaml.pkcs11.providerimpl
+

Class GenericPKCS11Provider

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    PKCS11Provider
    +
    +
    +
    +
    public class GenericPKCS11Provider
    +extends Object
    +implements PKCS11Provider
    +
    PKCS#11 provider for the general case.
    +
    +
    Author:
    +
    Stefan Santesson (stefan@idsec.se), Martin Lindström (martin@idsec.se)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GenericPKCS11Provider

        +
        public GenericPKCS11Provider(String name,
        +                             String library,
        +                             String slot,
        +                             Integer slotListIndex,
        +                             Integer slotListIndexMaxRange,
        +                             PKCS11ProviderInstance providerInstance)
        +
        Constructor setting up the provider. +

        + It is recommended to supply either slot or slotListIndex, but not both, since if the index and slot supplied does + not match the device's view an error will occur. +

        +
        +
        Parameters:
        +
        name - name of the HSM slot. The Provider name will be "SunPKCS11-{slotName}"
        +
        library - the PKCS11 library on the host to use
        +
        slot - the slot number, or null for default (slotListIndex of 0)
        +
        slotListIndex - the slotListIndex, or null for default (slotListIndex of 0)
        +
        slotListIndexMaxRange - the max range for slots
        +
        providerInstance - Provider instantiation implementation (Depending on runtime Java version)
        +
        +
      • +
      + + + +
        +
      • +

        GenericPKCS11Provider

        +
        public GenericPKCS11Provider(PKCS11ProviderConfiguration configuration,
        +                             PKCS11ProviderInstance providerInstance)
        +
        Constructor taking a PKCS11ProviderConfiguration to configure the provider
        +
        +
        Parameters:
        +
        configuration - provider configuration
        +
        providerInstance - Provider instantiation implementation (Depending on runtime Java version)
        +
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/PKCS11ExternalCfgProvider.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/PKCS11ExternalCfgProvider.html new file mode 100644 index 0000000..eb003df --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/PKCS11ExternalCfgProvider.html @@ -0,0 +1,339 @@ + + + + + + +PKCS11ExternalCfgProvider (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + + +
+
se.swedenconnect.opensaml.pkcs11.providerimpl
+

Class PKCS11ExternalCfgProvider

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    PKCS11Provider
    +
    +
    +
    +
    public class PKCS11ExternalCfgProvider
    +extends Object
    +implements PKCS11Provider
    +
    PKCS#11 provider for the case when provider configuration is provided as external files.
    +
    +
    Author:
    +
    Stefan Santesson (stefan@idsec.se), Martin Lindström (martin@idsec.se)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PKCS11ExternalCfgProvider

        +
        public PKCS11ExternalCfgProvider(PKCS11ProvidedCfgConfiguration configuration,
        +                                 PKCS11ProviderInstance providerInstance)
        +
        Constructor for setting up the provider.
        +
        +
        Parameters:
        +
        configuration - configuration data object
        +
        providerInstance - Provider instantiation implementation (Depending on runtime Java version)
        +
        +
      • +
      + + + +
        +
      • +

        PKCS11ExternalCfgProvider

        +
        public PKCS11ExternalCfgProvider(List<String> externalCfgPathList,
        +                                 PKCS11ProviderInstance providerInstance)
        +
        Constructor setting up the provider.
        +
        +
        Parameters:
        +
        externalCfgPathList - The list of configuration files to be used to load PKCS#11 providers.
        +
        providerInstance - Provider instantiation implementation (Depending on runtime Java version)
        +
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/PKCS11NullProvider.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/PKCS11NullProvider.html new file mode 100644 index 0000000..a447c57 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/PKCS11NullProvider.html @@ -0,0 +1,307 @@ + + + + + + +PKCS11NullProvider (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + + +
+
se.swedenconnect.opensaml.pkcs11.providerimpl
+

Class PKCS11NullProvider

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    PKCS11Provider
    +
    +
    +
    +
    public class PKCS11NullProvider
    +extends Object
    +implements PKCS11Provider
    +
    Null PKCS#11 provider.
    +
    +
    Author:
    +
    Stefan Santesson (stefan@idsec.se), Martin Lindström (martin@idsec.se)
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        PKCS11NullProvider

        +
        public PKCS11NullProvider()
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/PKCS11ProviderInstance.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/PKCS11ProviderInstance.html new file mode 100644 index 0000000..48f76fe --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/PKCS11ProviderInstance.html @@ -0,0 +1,243 @@ + + + + + + +PKCS11ProviderInstance (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + + +
+
se.swedenconnect.opensaml.pkcs11.providerimpl
+

Interface PKCS11ProviderInstance

+
+
+
+
    +
  • +
    +
    +
    public interface PKCS11ProviderInstance
    +
    This inteface covers for the fact that instantiation of SunPKCS11 is performed differently in Java 8 and Java 9+. + In order to make this code compatible with both Java 8 and Java 9+ the code snippet used to create an instance of + a SunPKCS11 provider must be provided as an implementation of this interface. +
    
    +  // Typical Java 8 implementation.
    +  Provider p11provider = new SunPKCS11(configInputStream);
    +
    +  // Typical java 9+ implementation
    +  // configData is either a file name or "--" + configDataString
    +  Provider p = Security.getProvider("SunPKCS11");
    +    p = p.configure(configData);
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getProviderInstance

        +
        Provider getProviderInstance(String configData)
        +
        Create an instance of a SunPKCS11 provider
        +
        +
        Parameters:
        +
        configData - SunPKCS11 config data as a UTF-8 encoded String
        +
        Returns:
        +
        A SunPKCS11 provider with loaded configuration.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/PKCS11SoftHsmProvider.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/PKCS11SoftHsmProvider.html new file mode 100644 index 0000000..296b498 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/PKCS11SoftHsmProvider.html @@ -0,0 +1,425 @@ + + + + + + +PKCS11SoftHsmProvider (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + + +
+
se.swedenconnect.opensaml.pkcs11.providerimpl
+

Class PKCS11SoftHsmProvider

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    PKCS11Provider
    +
    +
    +
    +
    public class PKCS11SoftHsmProvider
    +extends Object
    +implements PKCS11Provider
    +
    Utility class for loading keys from a key directory into a PKCS11 Soft HSM slot. This utility class assumes the + following conditions on the host: +
      +
    • Soft HSM version 2 is installed
    • +
    • The command line tool tool pkcs11-tool is installed
    • +
    +

    + This class utilises pkcs11-tool to initialize the HSM slot and to load keys and certificates into the soft HSM. +

    +

    + After import of keys in the folder. This class makes available the following information to support key import into + key stores: +

      +
    • Name of the Provider holding the keys (A SunPKCS11 provider). The name will be SunPKCS11-{slotName}
    • +
    • Lists of aliases of successfully imported keys and certificates
    • +
    • A Map of certificates imported
    • +
    +
    +
    Author:
    +
    Stefan Santesson (stefan@idsec.se), Martin Lindström (martin@idsec.se)
    +
    +
  • +
+
+
+ +
+
+ +
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/GenericPKCS11Provider.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/GenericPKCS11Provider.html new file mode 100644 index 0000000..52bf80c --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/GenericPKCS11Provider.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class se.swedenconnect.opensaml.pkcs11.providerimpl.GenericPKCS11Provider (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
se.swedenconnect.opensaml.pkcs11.providerimpl.GenericPKCS11Provider

+
+
No usage of se.swedenconnect.opensaml.pkcs11.providerimpl.GenericPKCS11Provider
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/PKCS11ExternalCfgProvider.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/PKCS11ExternalCfgProvider.html new file mode 100644 index 0000000..fd48f7e --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/PKCS11ExternalCfgProvider.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11ExternalCfgProvider (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11ExternalCfgProvider

+
+
No usage of se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11ExternalCfgProvider
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/PKCS11NullProvider.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/PKCS11NullProvider.html new file mode 100644 index 0000000..d60909c --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/PKCS11NullProvider.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11NullProvider (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11NullProvider

+
+
No usage of se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11NullProvider
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/PKCS11ProviderInstance.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/PKCS11ProviderInstance.html new file mode 100644 index 0000000..3381f5b --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/PKCS11ProviderInstance.html @@ -0,0 +1,227 @@ + + + + + + +Uses of Interface se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11ProviderInstance (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Interface
se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11ProviderInstance

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/PKCS11SoftHsmProvider.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/PKCS11SoftHsmProvider.html new file mode 100644 index 0000000..1335072 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/PKCS11SoftHsmProvider.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11SoftHsmProvider (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11SoftHsmProvider

+
+
No usage of se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11SoftHsmProvider
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/package-frame.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/package-frame.html new file mode 100644 index 0000000..68b633a --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/package-frame.html @@ -0,0 +1,28 @@ + + + + + + +se.swedenconnect.opensaml.pkcs11.providerimpl (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + +

se.swedenconnect.opensaml.pkcs11.providerimpl

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/package-summary.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/package-summary.html new file mode 100644 index 0000000..8fdb43b --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/package-summary.html @@ -0,0 +1,181 @@ + + + + + + +se.swedenconnect.opensaml.pkcs11.providerimpl (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package se.swedenconnect.opensaml.pkcs11.providerimpl

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/package-tree.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/package-tree.html new file mode 100644 index 0000000..17c055b --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/package-tree.html @@ -0,0 +1,146 @@ + + + + + + +se.swedenconnect.opensaml.pkcs11.providerimpl Class Hierarchy (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package se.swedenconnect.opensaml.pkcs11.providerimpl

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/package-use.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/package-use.html new file mode 100644 index 0000000..21abbe8 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/providerimpl/package-use.html @@ -0,0 +1,182 @@ + + + + + + +Uses of Package se.swedenconnect.opensaml.pkcs11.providerimpl (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
se.swedenconnect.opensaml.pkcs11.providerimpl

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/utils/StringUtils.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/utils/StringUtils.html new file mode 100644 index 0000000..65596ae --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/utils/StringUtils.html @@ -0,0 +1,305 @@ + + + + + + +StringUtils (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + + +
+
se.swedenconnect.opensaml.pkcs11.utils
+

Class StringUtils

+
+
+ +
+
    +
  • +
    +
    +
    public class StringUtils
    +extends Object
    +
    This class performs some simple String functions normally provided by the Spring framework.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        StringUtils

        +
        public StringUtils()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        hasText

        +
        public static boolean hasText(String text)
        +
        Test if a String has a value and is not null.
        +
        +
        Parameters:
        +
        text - string to be tested
        +
        Returns:
        +
        true if the string is not null and not empty or just contains white space
        +
        +
      • +
      + + + +
        +
      • +

        getTrimmedIfNotNull

        +
        public static String getTrimmedIfNotNull(String text)
        +
        Returns the trimmed string if present.
        +
        +
        Parameters:
        +
        text - text to trim
        +
        Returns:
        +
        the trimmed string or null if empty
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/utils/class-use/StringUtils.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/utils/class-use/StringUtils.html new file mode 100644 index 0000000..93f17bb --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/utils/class-use/StringUtils.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Class se.swedenconnect.opensaml.pkcs11.utils.StringUtils (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Class
se.swedenconnect.opensaml.pkcs11.utils.StringUtils

+
+
No usage of se.swedenconnect.opensaml.pkcs11.utils.StringUtils
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/utils/package-frame.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/utils/package-frame.html new file mode 100644 index 0000000..a2430c4 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/utils/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +se.swedenconnect.opensaml.pkcs11.utils (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + +

se.swedenconnect.opensaml.pkcs11.utils

+
+

Classes

+ +
+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/utils/package-summary.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/utils/package-summary.html new file mode 100644 index 0000000..14dd29d --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/utils/package-summary.html @@ -0,0 +1,146 @@ + + + + + + +se.swedenconnect.opensaml.pkcs11.utils (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Package se.swedenconnect.opensaml.pkcs11.utils

+
+
+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/utils/package-tree.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/utils/package-tree.html new file mode 100644 index 0000000..a842d6d --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/utils/package-tree.html @@ -0,0 +1,139 @@ + + + + + + +se.swedenconnect.opensaml.pkcs11.utils Class Hierarchy (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Hierarchy For Package se.swedenconnect.opensaml.pkcs11.utils

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/utils/package-use.html b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/utils/package-use.html new file mode 100644 index 0000000..4cd283e --- /dev/null +++ b/docs/javadoc-versions/1.1.0/se/swedenconnect/opensaml/pkcs11/utils/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Uses of Package se.swedenconnect.opensaml.pkcs11.utils (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + + + + + + + + +
+ + + + + + + +
+ + +
+

Uses of Package
se.swedenconnect.opensaml.pkcs11.utils

+
+
No usage of se.swedenconnect.opensaml.pkcs11.utils
+ +
+ + + + + + + +
+ + +

Copyright © 2018 Sweden Connect. All rights reserved.

+ + diff --git a/docs/javadoc-versions/1.1.0/stylesheet.css b/docs/javadoc-versions/1.1.0/stylesheet.css new file mode 100644 index 0000000..98055b2 --- /dev/null +++ b/docs/javadoc-versions/1.1.0/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/docs/javadoc/allclasses-frame.html b/docs/javadoc/allclasses-frame.html index fb41419..3d7971b 100644 --- a/docs/javadoc/allclasses-frame.html +++ b/docs/javadoc/allclasses-frame.html @@ -2,10 +2,10 @@ - + -All Classes (Sweden Connect - OpenSAML PKCS11 extension library - 1.0.1) - +All Classes (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + @@ -22,6 +22,7 @@

All Classes

  • PKCS11Provider
  • PKCS11ProviderConfiguration
  • PKCS11ProviderFactory
  • +
  • PKCS11ProviderInstance
  • PKCS11SoftHsmProvider
  • PKCS11SoftHsmProviderConfiguration
  • SoftHsmCredentialConfiguration
  • diff --git a/docs/javadoc/allclasses-noframe.html b/docs/javadoc/allclasses-noframe.html index b12824d..cdd63df 100644 --- a/docs/javadoc/allclasses-noframe.html +++ b/docs/javadoc/allclasses-noframe.html @@ -2,10 +2,10 @@ - + -All Classes (Sweden Connect - OpenSAML PKCS11 extension library - 1.0.1) - +All Classes (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + @@ -22,6 +22,7 @@

    All Classes

  • PKCS11Provider
  • PKCS11ProviderConfiguration
  • PKCS11ProviderFactory
  • +
  • PKCS11ProviderInstance
  • PKCS11SoftHsmProvider
  • PKCS11SoftHsmProviderConfiguration
  • SoftHsmCredentialConfiguration
  • diff --git a/docs/javadoc/constant-values.html b/docs/javadoc/constant-values.html index 0083aba..b5ebfa6 100644 --- a/docs/javadoc/constant-values.html +++ b/docs/javadoc/constant-values.html @@ -2,10 +2,10 @@ - + -Constant Field Values (Sweden Connect - OpenSAML PKCS11 extension library - 1.0.1) - +Constant Field Values (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ diff --git a/docs/javadoc/overview-summary.html b/docs/javadoc/overview-summary.html index a2c4e13..fcf5d8e 100644 --- a/docs/javadoc/overview-summary.html +++ b/docs/javadoc/overview-summary.html @@ -2,10 +2,10 @@ - + -Overview (Sweden Connect - OpenSAML PKCS11 extension library - 1.0.1) - +Overview (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ diff --git a/docs/javadoc/se/swedenconnect/opensaml/pkcs11/configuration/package-summary.html b/docs/javadoc/se/swedenconnect/opensaml/pkcs11/configuration/package-summary.html index 1da4cda..b8f82ee 100644 --- a/docs/javadoc/se/swedenconnect/opensaml/pkcs11/configuration/package-summary.html +++ b/docs/javadoc/se/swedenconnect/opensaml/pkcs11/configuration/package-summary.html @@ -2,10 +2,10 @@ - + -se.swedenconnect.opensaml.pkcs11.configuration (Sweden Connect - OpenSAML PKCS11 extension library - 1.0.1) - +se.swedenconnect.opensaml.pkcs11.configuration (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ diff --git a/docs/javadoc/se/swedenconnect/opensaml/pkcs11/credential/package-summary.html b/docs/javadoc/se/swedenconnect/opensaml/pkcs11/credential/package-summary.html index f444493..8936e87 100644 --- a/docs/javadoc/se/swedenconnect/opensaml/pkcs11/credential/package-summary.html +++ b/docs/javadoc/se/swedenconnect/opensaml/pkcs11/credential/package-summary.html @@ -2,10 +2,10 @@ - + -se.swedenconnect.opensaml.pkcs11.credential (Sweden Connect - OpenSAML PKCS11 extension library - 1.0.1) - +se.swedenconnect.opensaml.pkcs11.credential (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ diff --git a/docs/javadoc/se/swedenconnect/opensaml/pkcs11/package-summary.html b/docs/javadoc/se/swedenconnect/opensaml/pkcs11/package-summary.html index 77059b6..e6ba8b0 100644 --- a/docs/javadoc/se/swedenconnect/opensaml/pkcs11/package-summary.html +++ b/docs/javadoc/se/swedenconnect/opensaml/pkcs11/package-summary.html @@ -2,10 +2,10 @@ - + -se.swedenconnect.opensaml.pkcs11 (Sweden Connect - OpenSAML PKCS11 extension library - 1.0.1) - +se.swedenconnect.opensaml.pkcs11 (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ + + + + + +
    + + + + + + + +
    + + + +
    +
    se.swedenconnect.opensaml.pkcs11.providerimpl
    +

    Interface PKCS11ProviderInstance

    +
    +
    +
    +
      +
    • +
      +
      +
      public interface PKCS11ProviderInstance
      +
      This inteface covers for the fact that instantiation of SunPKCS11 is performed differently in Java 8 and Java 9+. + In order to make this code compatible with both Java 8 and Java 9+ the code snippet used to create an instance of + a SunPKCS11 provider must be provided as an implementation of this interface. +
      
      +  // Typical Java 8 implementation.
      +  Provider p11provider = new SunPKCS11(configInputStream);
      +
      +  // Typical java 9+ implementation
      +  // configData is either a file name or "--" + configDataString
      +  Provider p = Security.getProvider("SunPKCS11");
      +    p = p.configure(configData);
      +
    • +
    +
    +
    + +
    +
    +
      +
    • + +
        +
      • + + +

        Method Detail

        + + + +
          +
        • +

          getProviderInstance

          +
          Provider getProviderInstance(String configData)
          +
          Create an instance of a SunPKCS11 provider
          +
          +
          Parameters:
          +
          configData - SunPKCS11 config data as a UTF-8 encoded String
          +
          Returns:
          +
          A SunPKCS11 provider with loaded configuration.
          +
          +
        • +
        +
      • +
      +
    • +
    +
    +
    + + +
    + + + + + + + +
    + + +

    Copyright © 2018 Sweden Connect. All rights reserved.

    + + diff --git a/docs/javadoc/se/swedenconnect/opensaml/pkcs11/providerimpl/PKCS11SoftHsmProvider.html b/docs/javadoc/se/swedenconnect/opensaml/pkcs11/providerimpl/PKCS11SoftHsmProvider.html index 267625e..296b498 100644 --- a/docs/javadoc/se/swedenconnect/opensaml/pkcs11/providerimpl/PKCS11SoftHsmProvider.html +++ b/docs/javadoc/se/swedenconnect/opensaml/pkcs11/providerimpl/PKCS11SoftHsmProvider.html @@ -2,10 +2,10 @@ - + -PKCS11SoftHsmProvider (Sweden Connect - OpenSAML PKCS11 extension library - 1.0.1) - +PKCS11SoftHsmProvider (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@ + + + + + +
    + + + + + + + +
    + + +
    +

    Uses of Interface
    se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11ProviderInstance

    +
    +
    + +
    + +
    + + + + + + + +
    + + +

    Copyright © 2018 Sweden Connect. All rights reserved.

    + + diff --git a/docs/javadoc/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/PKCS11SoftHsmProvider.html b/docs/javadoc/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/PKCS11SoftHsmProvider.html index 163eec2..1335072 100644 --- a/docs/javadoc/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/PKCS11SoftHsmProvider.html +++ b/docs/javadoc/se/swedenconnect/opensaml/pkcs11/providerimpl/class-use/PKCS11SoftHsmProvider.html @@ -2,10 +2,10 @@ - + -Uses of Class se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11SoftHsmProvider (Sweden Connect - OpenSAML PKCS11 extension library - 1.0.1) - +Uses of Class se.swedenconnect.opensaml.pkcs11.providerimpl.PKCS11SoftHsmProvider (Sweden Connect - OpenSAML PKCS11 extension library - 1.1.0) + @@ -13,7 +13,7 @@

    se.swedenconnect.opensaml.pkcs11.providerimpl

    +

    Interfaces

    +

    Classes