public static class CredentialSet.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder()
Create a new CredentialSet builder.
|
| Modifier and Type | Method and Description |
|---|---|
CredentialSet |
build()
Build the CredentialSet.
|
CredentialSet.Builder |
setPrivateStorage(short credentialType,
byte[] privateStorage)
Set the private storage data for a credential type.
|
public CredentialSet.Builder setPrivateStorage(short credentialType, byte[] privateStorage)
credentialType - The credential type.privateStorage - The private storage. May be null, indicating access to this data is denied.CredentialsNotFoundException - If the credential type is not supported.org.opendof.core.oal.security.DOFSecurityException - If the private storage is invalid for the given credential type.public CredentialSet build()