示例#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 ;
		}
示例#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;
        }
示例#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)
        }