com.mindbright.asn1
Interface ASN1Encoder
- All Known Implementing Classes:
- ASN1DER
public interface ASN1Encoder
encode
int encode(java.io.OutputStream out,
ASN1Object object)
throws java.io.IOException
- Throws:
java.io.IOException
encodeBoolean
int encodeBoolean(java.io.OutputStream out,
boolean b)
throws java.io.IOException
- Throws:
java.io.IOException
encodeInteger
int encodeInteger(java.io.OutputStream out,
java.math.BigInteger i)
throws java.io.IOException
- Throws:
java.io.IOException
encodeNull
int encodeNull(java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
encodeOID
int encodeOID(java.io.OutputStream out,
int[] oid)
throws java.io.IOException
- Throws:
java.io.IOException
encodeString
int encodeString(java.io.OutputStream out,
byte[] string)
throws java.io.IOException
- Throws:
java.io.IOException
encodeStructure
int encodeStructure(java.io.OutputStream out,
ASN1Structure struct)
throws java.io.IOException
- Throws:
java.io.IOException