- java.lang.Object
-
- org.refcodes.forwardsecrecy.CipherVersionImpl
-
- All Implemented Interfaces:
Serializable
,Comparable<CipherVersion>
,CipherVersion
,org.refcodes.mixin.UniversalIdAccessor
public class CipherVersionImpl extends Object implements CipherVersion, Serializable
The Class CipherVersionImpl.- See Also:
CipherVersion
, Serialized Form
-
-
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
Constructors Constructor Description CipherVersionImpl(String aCipherUid, String aCipher)
Constructs the data structure with the required attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(CipherVersion aCipherVersion)
boolean
equals(Object obj)
String
getCipher()
Returns the cipher attribute.String
getUniversalId()
int
hashCode()
-
-
-
Method Detail
-
getUniversalId
public String getUniversalId()
- Specified by:
getUniversalId
in interfaceorg.refcodes.mixin.UniversalIdAccessor
-
getCipher
public String getCipher()
Returns the cipher attribute.- Specified by:
getCipher
in interfaceCipherVersion
- Returns:
- The actual cipher.
-
compareTo
public int compareTo(CipherVersion aCipherVersion)
- Specified by:
compareTo
in interfaceComparable<CipherVersion>
-
-