Module dev.eidentification.bankid
Class Configuration.ConfigurationBuilder
java.lang.Object
dev.eidentification.bankid.configuration.Configuration.ConfigurationBuilder
- Enclosing class:
Configuration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the base url for the ConfigurationBuilder.build()
Builds aConfiguration
.certificate
(InputStream certificate) Sets the personal number for the ConfigurationBuilder.Sets the personal number for the ConfigurationBuilder.
-
Constructor Details
-
ConfigurationBuilder
public ConfigurationBuilder()
-
-
Method Details
-
baseURL
Sets the base url for the ConfigurationBuilder.- Parameters:
baseURL
- the non-null base url.- Returns:
- the ConfigurationBuilder instance.
- Throws:
NullPointerException
- if baseURL is null.
-
pkcs12
Sets the personal number for the ConfigurationBuilder.- Parameters:
pkcs12
- the non-null pkcs12.- Returns:
- the ConfigurationBuilder instance.
- Throws:
NullPointerException
- if pkcs12 is null.
-
certificate
Sets the personal number for the ConfigurationBuilder.- Parameters:
certificate
- the non-null certificate.- Returns:
- the ConfigurationBuilder instance.
- Throws:
NullPointerException
- if certificate is null.
-
build
Builds aConfiguration
.- Returns:
- a PhoneSignRequest object.
- Throws:
NullPointerException
- ifbaseURL
,pkcs12
orcertificate
isnull
-