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:
java.io.Serializable,java.lang.Cloneable,java.lang.Iterable<JWSAlgorithm>,java.util.Collection<JWSAlgorithm>,java.util.Set<JWSAlgorithm>
- Enclosing class:
- JWSAlgorithm
public static final class JWSAlgorithm.Family extends java.util.LinkedHashSet<T>JWS algorithm family.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static JWSAlgorithm.FamilyECElliptic Curve signature (ECDSA) using a SHA-2 hash.static JWSAlgorithm.FamilyEDEdwards Curve signature (EdDSA).static JWSAlgorithm.FamilyHMAC_SHAHMAC using a SHA-2 hash.static JWSAlgorithm.FamilyRSARSA signature (RSASSA-PKCS-v1_5 or RSASSA-PSS) using a SHA-2 hash.static JWSAlgorithm.FamilySIGNATURESuper family of all digital signature based JWS algorithms.
-
Constructor Summary
Constructors Constructor Description Family(JWSAlgorithm... algs)Creates a new JWS algorithm family.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(T alg)booleanaddAll(java.util.Collection<? extends T> algs)booleanremove(java.lang.Object o)booleanremoveAll(java.util.Collection<?> c)booleanretainAll(java.util.Collection<?> c)
-
-
-
Field Detail
-
HMAC_SHA
public static final JWSAlgorithm.Family HMAC_SHA
HMAC using a SHA-2 hash.
-
RSA
public static final JWSAlgorithm.Family RSA
RSA signature (RSASSA-PKCS-v1_5 or RSASSA-PSS) using a SHA-2 hash.
-
EC
public static final JWSAlgorithm.Family EC
Elliptic Curve signature (ECDSA) using a SHA-2 hash.
-
ED
public static final JWSAlgorithm.Family ED
Edwards Curve signature (EdDSA).
-
SIGNATURE
public static final JWSAlgorithm.Family SIGNATURE
Super family of all digital signature based JWS algorithms.
-
-
Constructor Detail
-
Family
public Family(JWSAlgorithm... algs)
Creates a new JWS algorithm family.- Parameters:
algs- The JWS algorithms of the family. Must not benull.
-
-