Package org.opensaml.xmlsec
Class WhitelistBlacklistParameters
- java.lang.Object
-
- org.opensaml.xmlsec.WhitelistBlacklistParameters
-
- Direct Known Subclasses:
DecryptionParameters,SignatureValidationParameters
public class WhitelistBlacklistParameters extends Object
The whitelist and blacklist algorithm parameters.
-
-
Field Summary
Fields Modifier and Type Field Description private Collection<String>blackListedAlgorithmURIsBlacklisted algorithm URIs.private Collection<String>whiteListedAlgorithmURIsWhitelisted algorithm URIs.
-
Constructor Summary
Constructors Constructor Description WhitelistBlacklistParameters()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<String>getBlacklistedAlgorithms()Get the list of blacklisted algorithm URI's.Collection<String>getWhitelistedAlgorithms()Get the list of whitelisted algorithm URI's.voidsetBlacklistedAlgorithms(Collection<String> uris)Set the list of blacklisted algorithm URI's.voidsetWhitelistedAlgorithms(Collection<String> uris)Set the list of whitelisted algorithm URI's.
-
-
-
Field Detail
-
whiteListedAlgorithmURIs
@Nonnull @NonnullElements private Collection<String> whiteListedAlgorithmURIs
Whitelisted algorithm URIs.
-
blackListedAlgorithmURIs
@Nonnull @NonnullElements private Collection<String> blackListedAlgorithmURIs
Blacklisted algorithm URIs.
-
-
Method Detail
-
getWhitelistedAlgorithms
@Nonnull @NonnullElements @NotLive @Unmodifiable public Collection<String> getWhitelistedAlgorithms()
Get the list of whitelisted algorithm URI's.- Returns:
- the list of algorithms
-
setWhitelistedAlgorithms
public void setWhitelistedAlgorithms(@Nullable Collection<String> uris)Set the list of whitelisted algorithm URI's.- Parameters:
uris- the list of algorithms
-
getBlacklistedAlgorithms
@Nonnull @NonnullElements @NotLive @Unmodifiable public Collection<String> getBlacklistedAlgorithms()
Get the list of blacklisted algorithm URI's.- Returns:
- the list of algorithms
-
setBlacklistedAlgorithms
public void setBlacklistedAlgorithms(@Nonnull @NonnullElements Collection<String> uris)
Set the list of blacklisted algorithm URI's.- Parameters:
uris- the list of algorithms
-
-