Package org.opensaml.xmlsec.agreement
Class KeyAgreementParameters
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<T>
net.shibboleth.shared.collection.ClassIndexedSet<KeyAgreementParameter>
org.opensaml.xmlsec.agreement.KeyAgreementParameters
- All Implemented Interfaces:
Iterable<KeyAgreementParameter>,Collection<KeyAgreementParameter>,Set<KeyAgreementParameter>
Specialized collection type for holding sets of parameters to key agreement operations.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.shibboleth.shared.collection.ClassIndexedSet
ClassIndexedSet.ClassIndexedSetIterator -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.Copy constructor.KeyAgreementParameters(Collection<KeyAgreementParameter> source, boolean clone) Copy constructor with parameter clone option. -
Method Summary
Modifier and TypeMethodDescriptionvoidA convenience method for initializing all parameters which are initializable.Methods inherited from class net.shibboleth.shared.collection.ClassIndexedSet
add, add, clear, contains, equals, get, getIndexClass, hashCode, iterator, remove, size, toStringMethods inherited from class java.util.AbstractSet
removeAllMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, retainAll, toArray, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
addAll, contains, containsAll, isEmpty, removeAll, retainAll, spliterator, toArray, toArray
-
Constructor Details
-
KeyAgreementParameters
public KeyAgreementParameters()Constructor. -
KeyAgreementParameters
Copy constructor.- Parameters:
source- the source set from which to copy
-
KeyAgreementParameters
Copy constructor with parameter clone option.- Parameters:
source- the source set from which to copyclone- if true each parameter which is aCloneableKeyAgreementParameterwill be cloned before being added
-
-
Method Details
-
initializeAll
A convenience method for initializing all parameters which are initializable.- Throws:
KeyAgreementException- if any parameters fail initialization
-