Beispiel #1
0
		/* Asn1 TYPE NOT YET SUPPORTED
		* Encode an Asn1Real directly to a stream.
		public void encode(Asn1Real r, OutputStream out)
		throws IOException
		{
		throw new IOException("LBEREncoder: Encode to a stream not implemented");
		}
		*/
		
		/// <summary> Encode an Asn1Null directly into the specified outputstream.</summary>
		public void  encode(Asn1Null n, System.IO.Stream out_Renamed)
		{
			encode(n.getIdentifier(), out_Renamed);
			out_Renamed.WriteByte((System.Byte) 0x00); // Length (with no Content)
			return ;
		}
Beispiel #2
0
        /* Asn1 TYPE NOT YET SUPPORTED
         * Encode an Asn1Real directly to a stream.
         * public void encode(Asn1Real r, OutputStream out)
         * throws IOException
         * {
         * throw new IOException("LBEREncoder: Encode to a stream not implemented");
         * }
         */

        /// <summary> Encode an Asn1Null directly into the specified outputstream.</summary>
        public void  encode(Asn1Null n, System.IO.Stream out_Renamed)
        {
            encode(n.getIdentifier(), out_Renamed);
            out_Renamed.WriteByte((System.Byte) 0x00);             // Length (with no Content)
            return;
        }
Beispiel #3
0
        /* Asn1 TYPE NOT YET SUPPORTED
         * Encode an Asn1Real directly to a stream.
         * public void encode(Asn1Real r, OutputStream out)
         * throws IOException
         * {
         * throw new IOException("LBEREncoder: Encode to a stream not implemented");
         * }
         */

        /// <summary> Encode an Asn1Null directly into the specified outputstream.</summary>
        public void encode(Asn1Null n, Stream out_Renamed)
        {
            encode(n.getIdentifier(), out_Renamed);
            out_Renamed.WriteByte(0x00); // Length (with no Content)
        }