All Packages Class Hierarchy This Package Previous Next Index
Class semper.crypto.SignAlgorithm
java.lang.Object
|
+----semper.util.constant.Constant
|
+----semper.crypto.KeyType
|
+----semper.crypto.AsymmetricAlgorithm
|
+----semper.crypto.SignAlgorithm
- public final class SignAlgorithm
- extends AsymmetricAlgorithm
Constants for signature algorithms
-
DSA
-
-
ISO9796
-
-
RABIN
-
-
RSA
- maximal length of signatures for RSA variants is 130.
-
getLength()
- Get length (in bytes) of produced signature.
RSA
public static final SignAlgorithm RSA
- maximal length of signatures for RSA variants is 130. Valid for
plain RSA, ISO9796, ZKA and Rabin variants.
No minimum length is defined, a signature may be a small number
Maximal length of a DSA signature is 42
DSA
public static final SignAlgorithm DSA
ISO9796
public static final SignAlgorithm ISO9796
RABIN
public static final SignAlgorithm RABIN
getLength
public int getLength()
- Get length (in bytes) of produced signature.
All Packages Class Hierarchy This Package Previous Next Index