1 package org.bouncycastle.asn1; 2 3 /** 4 * Basic interface to produce serialisers for ASN.1 encodings. 5 */ 6 public interface ASN1Encodable 7 { 8 /** 9 * Return an object, possibly constructed, of ASN.1 primitives 10 * @return an ASN.1 primitive. 11 */ toASN1Primitive()12 ASN1Primitive toASN1Primitive(); 13 } 14