001package org.apache.commons.ssl.org.bouncycastle.asn1; 002 003/** 004 * Basic interface to produce serialisers for ASN.1 encodings. 005 */ 006public interface ASN1Encodable 007{ 008 /** 009 * Return an object, possibly constructed, of ASN.1 primitives 010 * @return an ASN.1 primitive. 011 */ 012 ASN1Primitive toASN1Primitive(); 013}