Package org.paseto4j.commons
Class Key<T>
- java.lang.Object
-
- org.paseto4j.commons.Key<T>
-
- Direct Known Subclasses:
PrivateKey,PublicKey,SecretKey
public abstract class Key<T> extends Object
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description TgetKey()byte[]getMaterial()VersiongetVersion()booleanhasLength(int length)abstract booleanisValidFor(Version v, Purpose p)
-
-
-
Constructor Detail
-
Key
@Deprecated protected Key(byte[] keyMaterial, Version version)
Deprecated.
-
Key
@Deprecated protected Key(byte[] keyMaterial, Version version, int size)
Deprecated.
-
-