java.lang.Object
org.refcodes.forwardsecrecy.CipherVersionImpl
- All Implemented Interfaces:
Serializable
,Comparable<CipherVersion>
,CipherVersion
,org.refcodes.mixin.UniversalIdAccessor
The Class CipherVersionImpl.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.UniversalIdAccessor
org.refcodes.mixin.UniversalIdAccessor.UniversalIdBuilder<B extends org.refcodes.mixin.UniversalIdAccessor.UniversalIdBuilder<B>>, org.refcodes.mixin.UniversalIdAccessor.UniversalIdMutator, org.refcodes.mixin.UniversalIdAccessor.UniversalIdProperty
-
Constructor Summary
ConstructorDescriptionCipherVersionImpl
(String aCipherUid, String aCipher) Constructs the data structure with the required attributes. -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(CipherVersion aCipherVersion) boolean
Returns the cipher attribute.int
hashCode()
-
Constructor Details
-
CipherVersionImpl
Constructs the data structure with the required attributes.- Parameters:
aCipherUid
- The UID identifying the cipher.aCipher
- The cipher related to the given UID
-
-
Method Details
-
getUniversalId
- Specified by:
getUniversalId
in interfaceorg.refcodes.mixin.UniversalIdAccessor
-
getCipher
Returns the cipher attribute.- Specified by:
getCipher
in interfaceCipherVersion
- Returns:
- The actual cipher.
-
compareTo
- Specified by:
compareTo
in interfaceComparable<CipherVersion>
-
hashCode
public int hashCode() -
equals
-