Package io.aether.api.common
Class SodiumChacha20Poly1305
- java.lang.Object
-
- io.aether.api.common.Key
-
- io.aether.api.common.KeySymmetric
-
- io.aether.api.common.SodiumChacha20Poly1305
-
- All Implemented Interfaces:
io.aether.utils.ToString
public class SodiumChacha20Poly1305 extends KeySymmetric implements io.aether.utils.ToString
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]datastatic io.aether.net.fastMeta.FastMetaType<SodiumChacha20Poly1305>METAstatic io.aether.net.fastMeta.FastMetaType<SodiumChacha20Poly1305>META_BODY
-
Constructor Summary
Constructors Constructor Description SodiumChacha20Poly1305(byte[] data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandataContains(byte el)booleanequals(java.lang.Object o)intgetAetherTypeId()byte[]getData()inthashCode()java.lang.StringtoString()voidtoString(io.aether.utils.AString sb)
-
-
-
Field Detail
-
META_BODY
public static final io.aether.net.fastMeta.FastMetaType<SodiumChacha20Poly1305> META_BODY
-
META
public static final io.aether.net.fastMeta.FastMetaType<SodiumChacha20Poly1305> META
-
data
protected final byte[] data
-
-
Method Detail
-
getAetherTypeId
public int getAetherTypeId()
- Overrides:
getAetherTypeIdin classKeySymmetric
-
dataContains
public boolean dataContains(byte el)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classKeySymmetric
-
hashCode
public int hashCode()
- Overrides:
hashCodein classKeySymmetric
-
toString
public java.lang.String toString()
- Overrides:
toStringin classKeySymmetric
-
toString
public void toString(io.aether.utils.AString sb)
- Specified by:
toStringin interfaceio.aether.utils.ToString- Overrides:
toStringin classKeySymmetric
-
-