codec.asn1
Interface Encoder
- All Known Implementing Classes:
- AbstractEncoder, RunLengthEncoder
- public interface Encoder
Defines the methods that must be implemented by encoders of ASN.1 types.
- Version:
- "$Id: Encoder.java,v 1.2 2000/12/06 17:47:29 vroth Exp $"
- Author:
- Volker Roth
writeType
public void writeType(ASN1Type t)
throws ASN1Exception,
IOException
writeBoolean
public void writeBoolean(ASN1Boolean t)
throws ASN1Exception,
IOException
writeInteger
public void writeInteger(ASN1Integer t)
throws ASN1Exception,
IOException
writeBitString
public void writeBitString(ASN1BitString t)
throws ASN1Exception,
IOException
writeOctetString
public void writeOctetString(ASN1OctetString t)
throws ASN1Exception,
IOException
writeNull
public void writeNull(ASN1Null t)
throws ASN1Exception,
IOException
writeObjectIdentifier
public void writeObjectIdentifier(ASN1ObjectIdentifier t)
throws ASN1Exception,
IOException
writeReal
public void writeReal(ASN1Type t)
throws ASN1Exception,
IOException
writeString
public void writeString(ASN1String t)
throws ASN1Exception,
IOException
writeCollection
public void writeCollection(ASN1Collection t)
throws ASN1Exception,
IOException
writeTime
public void writeTime(ASN1Time t)
throws ASN1Exception,
IOException
writeTaggedType
public void writeTaggedType(ASN1TaggedType t)
throws ASN1Exception,
IOException
writeTypeIdentifier
public void writeTypeIdentifier(ASN1Type t)
throws ASN1Exception,
IOException
Copyright © Fraunhofer Gesellschaft. All Rights Reserved.