Package com.wolfssl.wolfcrypt
Class Asn
java.lang.Object
com.wolfssl.wolfcrypt.WolfObject
com.wolfssl.wolfcrypt.Asn
public class Asn extends WolfObject
Wrapper for the native WolfCrypt Asn implementation.
- Version:
- 1.0, March 2015
- Author:
- Moisés Guimarães
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_ENCODED_SIG_SIZE
-
Constructor Summary
Constructors Constructor Description Asn()
-
Method Summary
Modifier and Type Method Description static long
encodeSignature(byte[] encoded, byte[] hash, long hashSize, int hashOID)
static void
encodeSignature(java.nio.ByteBuffer encoded, java.nio.ByteBuffer hash, long hashSize, int hashOID)
static int
getCTC_HashOID(int type)
-
Field Details
-
MAX_ENCODED_SIG_SIZE
public static final int MAX_ENCODED_SIG_SIZE- See Also:
- Constant Field Values
-
-
Constructor Details
-
Asn
public Asn()
-
-
Method Details
-
encodeSignature
public static void encodeSignature(java.nio.ByteBuffer encoded, java.nio.ByteBuffer hash, long hashSize, int hashOID) -
encodeSignature
public static long encodeSignature(byte[] encoded, byte[] hash, long hashSize, int hashOID) -
getCTC_HashOID
public static int getCTC_HashOID(int type)
-