Package org.refcodes.forwardsecrecy
Class CipherVersionImpl
- java.lang.Object
-
- org.refcodes.forwardsecrecy.CipherVersionImpl
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CipherVersion>
,CipherVersion
,org.refcodes.mixin.UniversalIdAccessor
public class CipherVersionImpl extends java.lang.Object implements CipherVersion, java.io.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(java.lang.String aCipherUid, java.lang.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(java.lang.Object obj)
java.lang.String
getCipher()
Returns the cipher attribute.java.lang.String
getUniversalId()
int
hashCode()
-
-
-
Method Detail
-
getUniversalId
public java.lang.String getUniversalId()
- Specified by:
getUniversalId
in interfaceorg.refcodes.mixin.UniversalIdAccessor
-
getCipher
public java.lang.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 interfacejava.lang.Comparable<CipherVersion>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-