Package com.nimbusds.jose
Class JWSAlgorithm.Family
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<E>
java.util.LinkedHashSet<T>
com.nimbusds.jose.JWSAlgorithm.Family
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<JWSAlgorithm>,Collection<JWSAlgorithm>,Set<JWSAlgorithm>
- Enclosing class:
- JWSAlgorithm
JWS algorithm family.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JWSAlgorithm.FamilyElliptic Curve signature (ECDSA) using a SHA-2 hash.static final JWSAlgorithm.FamilyEdwards Curve signature (EdDSA).static final JWSAlgorithm.FamilyHMAC using a SHA-2 hash.static final JWSAlgorithm.FamilyRSA signature (RSASSA-PKCS-v1_5 or RSASSA-PSS) using a SHA-2 hash.static final JWSAlgorithm.FamilySuper family of all digital signature based JWS algorithms. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(JWSAlgorithm alg) booleanaddAll(Collection<? extends JWSAlgorithm> algs) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) Methods inherited from class java.util.LinkedHashSet
spliteratorMethods inherited from class java.util.HashSet
clear, clone, contains, isEmpty, iterator, size, toArray, toArrayMethods inherited from class java.util.AbstractSet
equals, hashCodeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Field Details
-
HMAC_SHA
HMAC using a SHA-2 hash. -
RSA
RSA signature (RSASSA-PKCS-v1_5 or RSASSA-PSS) using a SHA-2 hash. -
EC
Elliptic Curve signature (ECDSA) using a SHA-2 hash. -
ED
Edwards Curve signature (EdDSA). -
SIGNATURE
Super family of all digital signature based JWS algorithms.
-
-
Constructor Details
-
Family
Creates a new JWS algorithm family.- Parameters:
algs- The JWS algorithms of the family. Must not benull.
-
-
Method Details
-
add
-
addAll
- Specified by:
addAllin interfaceCollection<T extends Algorithm>- Specified by:
addAllin interfaceSet<T extends Algorithm>- Overrides:
addAllin classAbstractCollection<T extends Algorithm>
-
remove
-
removeAll
- Specified by:
removeAllin interfaceCollection<T extends Algorithm>- Specified by:
removeAllin interfaceSet<T extends Algorithm>- Overrides:
removeAllin classAbstractSet<T extends Algorithm>
-
retainAll
- Specified by:
retainAllin interfaceCollection<T extends Algorithm>- Specified by:
retainAllin interfaceSet<T extends Algorithm>- Overrides:
retainAllin classAbstractCollection<T extends Algorithm>
-