Package org.opensaml.security.crypto.ec
Class EnhancedECParameterSpec
java.lang.Object
java.security.spec.ECParameterSpec
org.opensaml.security.crypto.ec.EnhancedECParameterSpec
- All Implemented Interfaces:
AlgorithmParameterSpec
A specialized subclass of
ECParameterSpec which wraps an existing instance and implements
hashCode() and equals(Object) so that it may be used directly in hashtable-based collections,
as well as simplifying equality comparisons between 2 instances.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the original instance passed to the constructor.inthashCode()Methods inherited from class java.security.spec.ECParameterSpec
getCofactor, getCurve, getGenerator, getOrder
-
Field Details
-
original
The original instance.
-
-
Constructor Details
-
EnhancedECParameterSpec
Constructor.- Parameters:
spec- the parameter spec instance to wrap
-
-
Method Details