generated asn.1 classes using newest version of jasn1-compiler 1.9.0

pull/4/head
Stefan Feuerhahn 8 years ago
parent 370ce99967
commit ba8f0c969e

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
rm -r ../../src/main/java-gen/* rm -r ../../src/main/java-gen/org/openmuc/openiec61850/internal/mms/asn1/*
jasn1-compiler -o "../../src/main/java-gen" -p "org.openmuc.openiec61850.internal.mms" -f mms.asn jasn1-compiler -o "../../src/main/java-gen" -p "org.openmuc.openiec61850.internal.mms" -f mms.asn

@ -83,7 +83,7 @@ def projectName = 'OpenIEC61850'
dependencies { dependencies {
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25' compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
compile group: 'org.openmuc', name: 'jasn1-61850mod', version: '1.8.3-SNAPSHOT' compile group: 'org.openmuc', name: 'jasn1', version: '1.9.0'
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3' compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
compile group: 'com.toedter', name: 'jcalendar', version: '1.4' compile group: 'com.toedter', name: 'jcalendar', version: '1.4'
} }

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerBitString; import org.openmuc.jasn1.ber.types.BerBitString;
import org.openmuc.jasn1.ber.types.BerObjectIdentifier; import org.openmuc.jasn1.ber.types.BerObjectIdentifier;
@ -155,11 +156,11 @@ public class AAREApdu implements Serializable {
return userInformation; return userInformation;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -450,7 +451,7 @@ public class AAREApdu implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerBitString; import org.openmuc.jasn1.ber.types.BerBitString;
import org.openmuc.jasn1.ber.types.BerObjectIdentifier; import org.openmuc.jasn1.ber.types.BerObjectIdentifier;
@ -173,11 +174,11 @@ public class AARQApdu implements Serializable {
return userInformation; return userInformation;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -510,7 +511,7 @@ public class AARQApdu implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,15 +1,16 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class ACSEApdu implements Serializable { public class ACSEApdu implements Serializable {
@ -60,7 +61,7 @@ public class ACSEApdu implements Serializable {
return rlre; return rlre;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -139,7 +140,7 @@ public class ACSEApdu implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;
@ -21,4 +21,8 @@ public class ACSERequirements extends BerBitString {
super(value, numBits); super(value, numBits);
} }
public ACSERequirements(boolean[] value) {
super(value);
}
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;

@ -1,15 +1,16 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerInteger; import org.openmuc.jasn1.ber.types.BerInteger;
public class AEQualifier implements Serializable { public class AEQualifier implements Serializable {
@ -34,7 +35,7 @@ public class AEQualifier implements Serializable {
return aeQualifierForm2; return aeQualifierForm2;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -80,7 +81,7 @@ public class AEQualifier implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;

@ -1,15 +1,16 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerObjectIdentifier; import org.openmuc.jasn1.ber.types.BerObjectIdentifier;
public class AETitle implements Serializable { public class AETitle implements Serializable {
@ -34,7 +35,7 @@ public class AETitle implements Serializable {
return aeTitleForm2; return aeTitleForm2;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -80,7 +81,7 @@ public class AETitle implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;

@ -1,15 +1,16 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerObjectIdentifier; import org.openmuc.jasn1.ber.types.BerObjectIdentifier;
public class APTitle implements Serializable { public class APTitle implements Serializable {
@ -34,7 +35,7 @@ public class APTitle implements Serializable {
return apTitleForm2; return apTitleForm2;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -80,7 +81,7 @@ public class APTitle implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;

@ -1,19 +1,20 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class ApplicationContextNameList implements Serializable { public class ApplicationContextNameList implements Serializable {
@ -38,11 +39,11 @@ public class ApplicationContextNameList implements Serializable {
return seqOf; return seqOf;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -99,7 +100,7 @@ public class ApplicationContextNameList implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerInteger; import org.openmuc.jasn1.ber.types.BerInteger;
public class AssociateSourceDiagnostic implements Serializable { public class AssociateSourceDiagnostic implements Serializable {
@ -44,7 +45,7 @@ public class AssociateSourceDiagnostic implements Serializable {
return acseServiceProvider; return acseServiceProvider;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -115,7 +116,7 @@ public class AssociateSourceDiagnostic implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }

@ -1,19 +1,20 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class AssociationInformation implements Serializable { public class AssociationInformation implements Serializable {
@ -38,11 +39,11 @@ public class AssociationInformation implements Serializable {
return seqOf; return seqOf;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -99,7 +100,7 @@ public class AssociationInformation implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,15 +1,16 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerBitString; import org.openmuc.jasn1.ber.types.BerBitString;
import org.openmuc.jasn1.ber.types.string.BerGraphicString; import org.openmuc.jasn1.ber.types.string.BerGraphicString;
@ -53,7 +54,7 @@ public class AuthenticationValue implements Serializable {
return external; return external;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -130,7 +131,7 @@ public class AuthenticationValue implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerAny; import org.openmuc.jasn1.ber.types.BerAny;
import org.openmuc.jasn1.ber.types.BerBitString; import org.openmuc.jasn1.ber.types.BerBitString;
import org.openmuc.jasn1.ber.types.BerInteger; import org.openmuc.jasn1.ber.types.BerInteger;
@ -61,7 +62,7 @@ public class Myexternal implements Serializable {
return arbitrary; return arbitrary;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -143,7 +144,7 @@ public class Myexternal implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }
@ -215,11 +216,11 @@ public class Myexternal implements Serializable {
return encoding; return encoding;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -295,7 +296,7 @@ public class Myexternal implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerAny; import org.openmuc.jasn1.ber.types.BerAny;
import org.openmuc.jasn1.ber.types.BerBitString; import org.openmuc.jasn1.ber.types.BerBitString;
import org.openmuc.jasn1.ber.types.BerInteger; import org.openmuc.jasn1.ber.types.BerInteger;
@ -61,7 +62,7 @@ public class Myexternal2 implements Serializable {
return arbitrary; return arbitrary;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -143,7 +144,7 @@ public class Myexternal2 implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }
@ -215,11 +216,11 @@ public class Myexternal2 implements Serializable {
return encoding; return encoding;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -295,7 +296,7 @@ public class Myexternal2 implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class RLREApdu implements Serializable { public class RLREApdu implements Serializable {
@ -45,11 +46,11 @@ public class RLREApdu implements Serializable {
return userInformation; return userInformation;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -131,7 +132,7 @@ public class RLREApdu implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class RLRQApdu implements Serializable { public class RLRQApdu implements Serializable {
@ -45,11 +46,11 @@ public class RLRQApdu implements Serializable {
return userInformation; return userInformation;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -131,7 +132,7 @@ public class RLRQApdu implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.acse.asn1; package org.openmuc.josistack.internal.acse.asn1;

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.presentation.asn1; package org.openmuc.josistack.internal.presentation.asn1;
@ -8,6 +8,8 @@ import org.openmuc.jasn1.ber.types.BerObjectIdentifier;
public class AbstractSyntaxName extends BerObjectIdentifier { public class AbstractSyntaxName extends BerObjectIdentifier {
private static final long serialVersionUID = 1L;
public AbstractSyntaxName() { public AbstractSyntaxName() {
} }

@ -1,19 +1,25 @@
/** /**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.presentation.asn1; package org.openmuc.josistack.internal.presentation.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class CPAPPDU { public class CPAPPDU implements Serializable {
public static class NormalModeParameters { private static final long serialVersionUID = 1L;
public static class NormalModeParameters implements Serializable {
private static final long serialVersionUID = 1L;
public static final BerTag tag = new BerTag(BerTag.UNIVERSAL_CLASS, BerTag.CONSTRUCTED, 16); public static final BerTag tag = new BerTag(BerTag.UNIVERSAL_CLASS, BerTag.CONSTRUCTED, 16);
@ -81,11 +87,11 @@ public class CPAPPDU {
return userData; return userData;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -227,23 +233,37 @@ public class CPAPPDU {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE{"); StringBuilder sb = new StringBuilder();
appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append("{");
boolean firstSelectedElement = true; boolean firstSelectedElement = true;
if (protocolVersion != null) { if (protocolVersion != null) {
sb.append("\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("protocolVersion: ").append(protocolVersion); sb.append("protocolVersion: ").append(protocolVersion);
firstSelectedElement = false; firstSelectedElement = false;
} }
if (respondingPresentationSelector != null) { if (respondingPresentationSelector != null) {
if (!firstSelectedElement) { if (!firstSelectedElement) {
sb.append(", "); sb.append(",\n");
}
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
} }
sb.append("respondingPresentationSelector: ").append(respondingPresentationSelector); sb.append("respondingPresentationSelector: ").append(respondingPresentationSelector);
firstSelectedElement = false; firstSelectedElement = false;
@ -251,15 +271,22 @@ public class CPAPPDU {
if (presentationContextDefinitionResultList != null) { if (presentationContextDefinitionResultList != null) {
if (!firstSelectedElement) { if (!firstSelectedElement) {
sb.append(", "); sb.append(",\n");
}
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
} }
sb.append("presentationContextDefinitionResultList: ").append(presentationContextDefinitionResultList); sb.append("presentationContextDefinitionResultList: ");
presentationContextDefinitionResultList.appendAsString(sb, indentLevel + 1);
firstSelectedElement = false; firstSelectedElement = false;
} }
if (presentationRequirements != null) { if (presentationRequirements != null) {
if (!firstSelectedElement) { if (!firstSelectedElement) {
sb.append(", "); sb.append(",\n");
}
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
} }
sb.append("presentationRequirements: ").append(presentationRequirements); sb.append("presentationRequirements: ").append(presentationRequirements);
firstSelectedElement = false; firstSelectedElement = false;
@ -267,7 +294,10 @@ public class CPAPPDU {
if (userSessionRequirements != null) { if (userSessionRequirements != null) {
if (!firstSelectedElement) { if (!firstSelectedElement) {
sb.append(", "); sb.append(",\n");
}
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
} }
sb.append("userSessionRequirements: ").append(userSessionRequirements); sb.append("userSessionRequirements: ").append(userSessionRequirements);
firstSelectedElement = false; firstSelectedElement = false;
@ -275,14 +305,21 @@ public class CPAPPDU {
if (userData != null) { if (userData != null) {
if (!firstSelectedElement) { if (!firstSelectedElement) {
sb.append(", "); sb.append(",\n");
}
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
} }
sb.append("userData: ").append(userData); sb.append("userData: ");
userData.appendAsString(sb, indentLevel + 1);
firstSelectedElement = false; firstSelectedElement = false;
} }
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}"); sb.append("}");
return sb.toString();
} }
} }
@ -316,11 +353,11 @@ public class CPAPPDU {
return normalModeParameters; return normalModeParameters;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -394,23 +431,47 @@ public class CPAPPDU {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE{"); StringBuilder sb = new StringBuilder();
sb.append("modeSelector: ").append(modeSelector); appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append("{");
sb.append("\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (modeSelector != null) {
sb.append("modeSelector: ");
modeSelector.appendAsString(sb, indentLevel + 1);
}
else {
sb.append("modeSelector: <empty-required-field>");
}
if (normalModeParameters != null) { if (normalModeParameters != null) {
sb.append(", "); sb.append(",\n");
sb.append("normalModeParameters: ").append(normalModeParameters); for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("normalModeParameters: ");
normalModeParameters.appendAsString(sb, indentLevel + 1);
} }
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}"); sb.append("}");
return sb.toString();
} }
} }

@ -1,19 +1,25 @@
/** /**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.presentation.asn1; package org.openmuc.josistack.internal.presentation.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class CPType { public class CPType implements Serializable {
public static class NormalModeParameters { private static final long serialVersionUID = 1L;
public static class NormalModeParameters implements Serializable {
private static final long serialVersionUID = 1L;
public static final BerTag tag = new BerTag(BerTag.UNIVERSAL_CLASS, BerTag.CONSTRUCTED, 16); public static final BerTag tag = new BerTag(BerTag.UNIVERSAL_CLASS, BerTag.CONSTRUCTED, 16);
@ -99,11 +105,11 @@ public class CPType {
return userData; return userData;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -277,23 +283,37 @@ public class CPType {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE{"); StringBuilder sb = new StringBuilder();
appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append("{");
boolean firstSelectedElement = true; boolean firstSelectedElement = true;
if (protocolVersion != null) { if (protocolVersion != null) {
sb.append("\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("protocolVersion: ").append(protocolVersion); sb.append("protocolVersion: ").append(protocolVersion);
firstSelectedElement = false; firstSelectedElement = false;
} }
if (callingPresentationSelector != null) { if (callingPresentationSelector != null) {
if (!firstSelectedElement) { if (!firstSelectedElement) {
sb.append(", "); sb.append(",\n");
}
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
} }
sb.append("callingPresentationSelector: ").append(callingPresentationSelector); sb.append("callingPresentationSelector: ").append(callingPresentationSelector);
firstSelectedElement = false; firstSelectedElement = false;
@ -301,7 +321,10 @@ public class CPType {
if (calledPresentationSelector != null) { if (calledPresentationSelector != null) {
if (!firstSelectedElement) { if (!firstSelectedElement) {
sb.append(", "); sb.append(",\n");
}
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
} }
sb.append("calledPresentationSelector: ").append(calledPresentationSelector); sb.append("calledPresentationSelector: ").append(calledPresentationSelector);
firstSelectedElement = false; firstSelectedElement = false;
@ -309,23 +332,34 @@ public class CPType {
if (presentationContextDefinitionList != null) { if (presentationContextDefinitionList != null) {
if (!firstSelectedElement) { if (!firstSelectedElement) {
sb.append(", "); sb.append(",\n");
}
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
} }
sb.append("presentationContextDefinitionList: ").append(presentationContextDefinitionList); sb.append("presentationContextDefinitionList: ");
presentationContextDefinitionList.appendAsString(sb, indentLevel + 1);
firstSelectedElement = false; firstSelectedElement = false;
} }
if (defaultContextName != null) { if (defaultContextName != null) {
if (!firstSelectedElement) { if (!firstSelectedElement) {
sb.append(", "); sb.append(",\n");
} }
sb.append("defaultContextName: ").append(defaultContextName); for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("defaultContextName: ");
defaultContextName.appendAsString(sb, indentLevel + 1);
firstSelectedElement = false; firstSelectedElement = false;
} }
if (presentationRequirements != null) { if (presentationRequirements != null) {
if (!firstSelectedElement) { if (!firstSelectedElement) {
sb.append(", "); sb.append(",\n");
}
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
} }
sb.append("presentationRequirements: ").append(presentationRequirements); sb.append("presentationRequirements: ").append(presentationRequirements);
firstSelectedElement = false; firstSelectedElement = false;
@ -333,7 +367,10 @@ public class CPType {
if (userSessionRequirements != null) { if (userSessionRequirements != null) {
if (!firstSelectedElement) { if (!firstSelectedElement) {
sb.append(", "); sb.append(",\n");
}
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
} }
sb.append("userSessionRequirements: ").append(userSessionRequirements); sb.append("userSessionRequirements: ").append(userSessionRequirements);
firstSelectedElement = false; firstSelectedElement = false;
@ -341,14 +378,21 @@ public class CPType {
if (userData != null) { if (userData != null) {
if (!firstSelectedElement) { if (!firstSelectedElement) {
sb.append(", "); sb.append(",\n");
} }
sb.append("userData: ").append(userData); for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("userData: ");
userData.appendAsString(sb, indentLevel + 1);
firstSelectedElement = false; firstSelectedElement = false;
} }
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}"); sb.append("}");
return sb.toString();
} }
} }
@ -382,11 +426,11 @@ public class CPType {
return normalModeParameters; return normalModeParameters;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -460,23 +504,47 @@ public class CPType {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE{"); StringBuilder sb = new StringBuilder();
sb.append("modeSelector: ").append(modeSelector); appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append("{");
sb.append("\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (modeSelector != null) {
sb.append("modeSelector: ");
modeSelector.appendAsString(sb, indentLevel + 1);
}
else {
sb.append("modeSelector: <empty-required-field>");
}
if (normalModeParameters != null) { if (normalModeParameters != null) {
sb.append(", "); sb.append(",\n");
sb.append("normalModeParameters: ").append(normalModeParameters); for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("normalModeParameters: ");
normalModeParameters.appendAsString(sb, indentLevel + 1);
} }
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}"); sb.append("}");
return sb.toString();
} }
} }

@ -1,11 +1,13 @@
/** /**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.presentation.asn1; package org.openmuc.josistack.internal.presentation.asn1;
public class CalledPresentationSelector extends PresentationSelector { public class CalledPresentationSelector extends PresentationSelector {
private static final long serialVersionUID = 1L;
public CalledPresentationSelector() { public CalledPresentationSelector() {
} }

@ -1,11 +1,13 @@
/** /**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.presentation.asn1; package org.openmuc.josistack.internal.presentation.asn1;
public class CallingPresentationSelector extends PresentationSelector { public class CallingPresentationSelector extends PresentationSelector {
private static final long serialVersionUID = 1L;
public CallingPresentationSelector() { public CallingPresentationSelector() {
} }

@ -1,26 +1,34 @@
/** /**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.presentation.asn1; package org.openmuc.josistack.internal.presentation.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerInteger; import org.openmuc.jasn1.ber.types.BerInteger;
import org.openmuc.jasn1.ber.types.BerObjectIdentifier; import org.openmuc.jasn1.ber.types.BerObjectIdentifier;
public class ContextList { public class ContextList implements Serializable {
public static class SEQUENCE { private static final long serialVersionUID = 1L;
public static class TransferSyntaxNameList { public static class SEQUENCE implements Serializable {
private static final long serialVersionUID = 1L;
public static class TransferSyntaxNameList implements Serializable {
private static final long serialVersionUID = 1L;
public static final BerTag tag = new BerTag(BerTag.UNIVERSAL_CLASS, BerTag.CONSTRUCTED, 16); public static final BerTag tag = new BerTag(BerTag.UNIVERSAL_CLASS, BerTag.CONSTRUCTED, 16);
public byte[] code = null; public byte[] code = null;
@ -41,11 +49,11 @@ public class ContextList {
return seqOf; return seqOf;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -78,7 +86,6 @@ public class ContextList {
public int decode(InputStream is, boolean withTag) throws IOException { public int decode(InputStream is, boolean withTag) throws IOException {
int codeLength = 0; int codeLength = 0;
int subCodeLength = 0; int subCodeLength = 0;
BerTag berTag = new BerTag();
if (withTag) { if (withTag) {
codeLength += tag.decodeAndCheck(is); codeLength += tag.decodeAndCheck(is);
} }
@ -103,15 +110,24 @@ public class ContextList {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE OF{"); StringBuilder sb = new StringBuilder();
appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append("{\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (seqOf == null) { if (seqOf == null) {
sb.append("null"); sb.append("null");
} }
@ -120,14 +136,20 @@ public class ContextList {
if (it.hasNext()) { if (it.hasNext()) {
sb.append(it.next()); sb.append(it.next());
while (it.hasNext()) { while (it.hasNext()) {
sb.append(", ").append(it.next()); sb.append(",\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append(it.next());
} }
} }
} }
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}"); sb.append("}");
return sb.toString();
} }
} }
@ -170,11 +192,11 @@ public class ContextList {
return transferSyntaxNameList; return transferSyntaxNameList;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -254,24 +276,60 @@ public class ContextList {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE{"); StringBuilder sb = new StringBuilder();
sb.append("presentationContextIdentifier: ").append(presentationContextIdentifier); appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append("{");
sb.append("\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (presentationContextIdentifier != null) {
sb.append("presentationContextIdentifier: ").append(presentationContextIdentifier);
}
else {
sb.append("presentationContextIdentifier: <empty-required-field>");
}
sb.append(", "); sb.append(",\n");
sb.append("abstractSyntaxName: ").append(abstractSyntaxName); for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (abstractSyntaxName != null) {
sb.append("abstractSyntaxName: ").append(abstractSyntaxName);
}
else {
sb.append("abstractSyntaxName: <empty-required-field>");
}
sb.append(", "); sb.append(",\n");
sb.append("transferSyntaxNameList: ").append(transferSyntaxNameList); for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (transferSyntaxNameList != null) {
sb.append("transferSyntaxNameList: ");
transferSyntaxNameList.appendAsString(sb, indentLevel + 1);
}
else {
sb.append("transferSyntaxNameList: <empty-required-field>");
}
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}"); sb.append("}");
return sb.toString();
} }
} }
@ -295,11 +353,11 @@ public class ContextList {
return seqOf; return seqOf;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -332,7 +390,6 @@ public class ContextList {
public int decode(InputStream is, boolean withTag) throws IOException { public int decode(InputStream is, boolean withTag) throws IOException {
int codeLength = 0; int codeLength = 0;
int subCodeLength = 0; int subCodeLength = 0;
BerTag berTag = new BerTag();
if (withTag) { if (withTag) {
codeLength += tag.decodeAndCheck(is); codeLength += tag.decodeAndCheck(is);
} }
@ -357,31 +414,46 @@ public class ContextList {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE OF{"); StringBuilder sb = new StringBuilder();
appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append("{\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (seqOf == null) { if (seqOf == null) {
sb.append("null"); sb.append("null");
} }
else { else {
Iterator<SEQUENCE> it = seqOf.iterator(); Iterator<SEQUENCE> it = seqOf.iterator();
if (it.hasNext()) { if (it.hasNext()) {
sb.append(it.next()); it.next().appendAsString(sb, indentLevel + 1);
while (it.hasNext()) { while (it.hasNext()) {
sb.append(", ").append(it.next()); sb.append(",\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
it.next().appendAsString(sb, indentLevel + 1);
} }
} }
} }
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}"); sb.append("}");
return sb.toString();
} }
} }

@ -1,17 +1,21 @@
/** /**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.presentation.asn1; package org.openmuc.josistack.internal.presentation.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class DefaultContextName { public class DefaultContextName implements Serializable {
private static final long serialVersionUID = 1L;
public static final BerTag tag = new BerTag(BerTag.UNIVERSAL_CLASS, BerTag.CONSTRUCTED, 16); public static final BerTag tag = new BerTag(BerTag.UNIVERSAL_CLASS, BerTag.CONSTRUCTED, 16);
@ -42,11 +46,11 @@ public class DefaultContextName {
return transferSyntaxName; return transferSyntaxName;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -121,21 +125,48 @@ public class DefaultContextName {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE{"); StringBuilder sb = new StringBuilder();
sb.append("abstractSyntaxName: ").append(abstractSyntaxName); appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append(", "); sb.append("{");
sb.append("transferSyntaxName: ").append(transferSyntaxName); sb.append("\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (abstractSyntaxName != null) {
sb.append("abstractSyntaxName: ").append(abstractSyntaxName);
}
else {
sb.append("abstractSyntaxName: <empty-required-field>");
}
sb.append(",\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (transferSyntaxName != null) {
sb.append("transferSyntaxName: ").append(transferSyntaxName);
}
else {
sb.append("transferSyntaxName: <empty-required-field>");
}
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}"); sb.append("}");
return sb.toString();
} }
} }

@ -1,20 +1,24 @@
/** /**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.presentation.asn1; package org.openmuc.josistack.internal.presentation.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class FullyEncodedData { public class FullyEncodedData implements Serializable {
private static final long serialVersionUID = 1L;
public static final BerTag tag = new BerTag(BerTag.UNIVERSAL_CLASS, BerTag.CONSTRUCTED, 16); public static final BerTag tag = new BerTag(BerTag.UNIVERSAL_CLASS, BerTag.CONSTRUCTED, 16);
public byte[] code = null; public byte[] code = null;
@ -35,11 +39,11 @@ public class FullyEncodedData {
return seqOf; return seqOf;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -72,7 +76,6 @@ public class FullyEncodedData {
public int decode(InputStream is, boolean withTag) throws IOException { public int decode(InputStream is, boolean withTag) throws IOException {
int codeLength = 0; int codeLength = 0;
int subCodeLength = 0; int subCodeLength = 0;
BerTag berTag = new BerTag();
if (withTag) { if (withTag) {
codeLength += tag.decodeAndCheck(is); codeLength += tag.decodeAndCheck(is);
} }
@ -97,31 +100,46 @@ public class FullyEncodedData {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE OF{"); StringBuilder sb = new StringBuilder();
appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append("{\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (seqOf == null) { if (seqOf == null) {
sb.append("null"); sb.append("null");
} }
else { else {
Iterator<PDVList> it = seqOf.iterator(); Iterator<PDVList> it = seqOf.iterator();
if (it.hasNext()) { if (it.hasNext()) {
sb.append(it.next()); it.next().appendAsString(sb, indentLevel + 1);
while (it.hasNext()) { while (it.hasNext()) {
sb.append(", ").append(it.next()); sb.append(",\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
it.next().appendAsString(sb, indentLevel + 1);
} }
} }
} }
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}"); sb.append("}");
return sb.toString();
} }
} }

@ -1,18 +1,22 @@
/** /**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.presentation.asn1; package org.openmuc.josistack.internal.presentation.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerInteger; import org.openmuc.jasn1.ber.types.BerInteger;
public class ModeSelector { public class ModeSelector implements Serializable {
private static final long serialVersionUID = 1L;
public static final BerTag tag = new BerTag(BerTag.UNIVERSAL_CLASS, BerTag.CONSTRUCTED, 17); public static final BerTag tag = new BerTag(BerTag.UNIVERSAL_CLASS, BerTag.CONSTRUCTED, 17);
@ -34,11 +38,11 @@ public class ModeSelector {
return modeValue; return modeValue;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -101,18 +105,37 @@ public class ModeSelector {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE{"); StringBuilder sb = new StringBuilder();
sb.append("modeValue: ").append(modeValue); appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append("{");
sb.append("\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (modeValue != null) {
sb.append("modeValue: ").append(modeValue);
}
else {
sb.append("modeValue: <empty-required-field>");
}
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}"); sb.append("}");
return sb.toString();
} }
} }

@ -1,24 +1,30 @@
/** /**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.presentation.asn1; package org.openmuc.josistack.internal.presentation.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerAny; import org.openmuc.jasn1.ber.types.BerAny;
import org.openmuc.jasn1.ber.types.BerBitString; import org.openmuc.jasn1.ber.types.BerBitString;
import org.openmuc.jasn1.ber.types.BerInteger; import org.openmuc.jasn1.ber.types.BerInteger;
import org.openmuc.jasn1.ber.types.BerObjectIdentifier; import org.openmuc.jasn1.ber.types.BerObjectIdentifier;
import org.openmuc.jasn1.ber.types.BerOctetString; import org.openmuc.jasn1.ber.types.BerOctetString;
public class PDVList { public class PDVList implements Serializable {
public static class PresentationDataValues { private static final long serialVersionUID = 1L;
public static class PresentationDataValues implements Serializable {
private static final long serialVersionUID = 1L;
public byte[] code = null; public byte[] code = null;
private BerAny singleASN1Type = null; private BerAny singleASN1Type = null;
@ -56,7 +62,7 @@ public class PDVList {
return arbitrary; return arbitrary;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -138,26 +144,36 @@ public class PDVList {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder();
appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
if (singleASN1Type != null) { if (singleASN1Type != null) {
return "CHOICE{singleASN1Type: " + singleASN1Type + "}"; sb.append("singleASN1Type: ").append(singleASN1Type);
return;
} }
if (octetAligned != null) { if (octetAligned != null) {
return "CHOICE{octetAligned: " + octetAligned + "}"; sb.append("octetAligned: ").append(octetAligned);
return;
} }
if (arbitrary != null) { if (arbitrary != null) {
return "CHOICE{arbitrary: " + arbitrary + "}"; sb.append("arbitrary: ").append(arbitrary);
return;
} }
return "unknown"; sb.append("<none>");
} }
} }
@ -200,11 +216,11 @@ public class PDVList {
return presentationDataValues; return presentationDataValues;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -281,30 +297,61 @@ public class PDVList {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE{"); StringBuilder sb = new StringBuilder();
appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append("{");
boolean firstSelectedElement = true; boolean firstSelectedElement = true;
if (transferSyntaxName != null) { if (transferSyntaxName != null) {
sb.append("\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("transferSyntaxName: ").append(transferSyntaxName); sb.append("transferSyntaxName: ").append(transferSyntaxName);
firstSelectedElement = false; firstSelectedElement = false;
} }
if (!firstSelectedElement) { if (!firstSelectedElement) {
sb.append(", "); sb.append(",\n");
}
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (presentationContextIdentifier != null) {
sb.append("presentationContextIdentifier: ").append(presentationContextIdentifier);
}
else {
sb.append("presentationContextIdentifier: <empty-required-field>");
} }
sb.append("presentationContextIdentifier: ").append(presentationContextIdentifier);
sb.append(", "); sb.append(",\n");
sb.append("presentationDataValues: ").append(presentationDataValues); for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (presentationDataValues != null) {
sb.append("presentationDataValues: ");
presentationDataValues.appendAsString(sb, indentLevel + 1);
}
else {
sb.append("presentationDataValues: <empty-required-field>");
}
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}"); sb.append("}");
return sb.toString();
} }
} }

@ -1,11 +1,13 @@
/** /**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.presentation.asn1; package org.openmuc.josistack.internal.presentation.asn1;
public class PresentationContextDefinitionList extends ContextList { public class PresentationContextDefinitionList extends ContextList {
private static final long serialVersionUID = 1L;
public PresentationContextDefinitionList() { public PresentationContextDefinitionList() {
} }

@ -1,11 +1,13 @@
/** /**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.presentation.asn1; package org.openmuc.josistack.internal.presentation.asn1;
public class PresentationContextDefinitionResultList extends ResultList { public class PresentationContextDefinitionResultList extends ResultList {
private static final long serialVersionUID = 1L;
public PresentationContextDefinitionResultList() { public PresentationContextDefinitionResultList() {
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.presentation.asn1; package org.openmuc.josistack.internal.presentation.asn1;
@ -10,6 +10,8 @@ import org.openmuc.jasn1.ber.types.BerInteger;
public class PresentationContextIdentifier extends BerInteger { public class PresentationContextIdentifier extends BerInteger {
private static final long serialVersionUID = 1L;
public PresentationContextIdentifier() { public PresentationContextIdentifier() {
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.presentation.asn1; package org.openmuc.josistack.internal.presentation.asn1;
@ -8,6 +8,8 @@ import org.openmuc.jasn1.ber.types.BerBitString;
public class PresentationRequirements extends BerBitString { public class PresentationRequirements extends BerBitString {
private static final long serialVersionUID = 1L;
public PresentationRequirements() { public PresentationRequirements() {
} }
@ -19,4 +21,8 @@ public class PresentationRequirements extends BerBitString {
super(value, numBits); super(value, numBits);
} }
public PresentationRequirements(boolean[] value) {
super(value);
}
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.presentation.asn1; package org.openmuc.josistack.internal.presentation.asn1;
@ -8,6 +8,8 @@ import org.openmuc.jasn1.ber.types.BerOctetString;
public class PresentationSelector extends BerOctetString { public class PresentationSelector extends BerOctetString {
private static final long serialVersionUID = 1L;
public PresentationSelector() { public PresentationSelector() {
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.presentation.asn1; package org.openmuc.josistack.internal.presentation.asn1;
@ -8,6 +8,8 @@ import org.openmuc.jasn1.ber.types.BerBitString;
public class ProtocolVersion extends BerBitString { public class ProtocolVersion extends BerBitString {
private static final long serialVersionUID = 1L;
public ProtocolVersion() { public ProtocolVersion() {
} }
@ -19,4 +21,8 @@ public class ProtocolVersion extends BerBitString {
super(value, numBits); super(value, numBits);
} }
public ProtocolVersion(boolean[] value) {
super(value);
}
} }

@ -1,11 +1,13 @@
/** /**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.presentation.asn1; package org.openmuc.josistack.internal.presentation.asn1;
public class RespondingPresentationSelector extends PresentationSelector { public class RespondingPresentationSelector extends PresentationSelector {
private static final long serialVersionUID = 1L;
public RespondingPresentationSelector() { public RespondingPresentationSelector() {
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.presentation.asn1; package org.openmuc.josistack.internal.presentation.asn1;
@ -10,6 +10,8 @@ import org.openmuc.jasn1.ber.types.BerInteger;
public class Result extends BerInteger { public class Result extends BerInteger {
private static final long serialVersionUID = 1L;
public Result() { public Result() {
} }

@ -1,23 +1,29 @@
/** /**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.presentation.asn1; package org.openmuc.josistack.internal.presentation.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerInteger; import org.openmuc.jasn1.ber.types.BerInteger;
public class ResultList { public class ResultList implements Serializable {
public static class SEQUENCE { private static final long serialVersionUID = 1L;
public static class SEQUENCE implements Serializable {
private static final long serialVersionUID = 1L;
public static final BerTag tag = new BerTag(BerTag.UNIVERSAL_CLASS, BerTag.CONSTRUCTED, 16); public static final BerTag tag = new BerTag(BerTag.UNIVERSAL_CLASS, BerTag.CONSTRUCTED, 16);
@ -57,11 +63,11 @@ public class ResultList {
return providerReason; return providerReason;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -157,28 +163,53 @@ public class ResultList {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE{"); StringBuilder sb = new StringBuilder();
sb.append("result: ").append(result); appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append("{");
sb.append("\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (result != null) {
sb.append("result: ").append(result);
}
else {
sb.append("result: <empty-required-field>");
}
if (transferSyntaxName != null) { if (transferSyntaxName != null) {
sb.append(", "); sb.append(",\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("transferSyntaxName: ").append(transferSyntaxName); sb.append("transferSyntaxName: ").append(transferSyntaxName);
} }
if (providerReason != null) { if (providerReason != null) {
sb.append(", "); sb.append(",\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
sb.append("providerReason: ").append(providerReason); sb.append("providerReason: ").append(providerReason);
} }
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}"); sb.append("}");
return sb.toString();
} }
} }
@ -202,11 +233,11 @@ public class ResultList {
return seqOf; return seqOf;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -239,7 +270,6 @@ public class ResultList {
public int decode(InputStream is, boolean withTag) throws IOException { public int decode(InputStream is, boolean withTag) throws IOException {
int codeLength = 0; int codeLength = 0;
int subCodeLength = 0; int subCodeLength = 0;
BerTag berTag = new BerTag();
if (withTag) { if (withTag) {
codeLength += tag.decodeAndCheck(is); codeLength += tag.decodeAndCheck(is);
} }
@ -264,31 +294,46 @@ public class ResultList {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder("SEQUENCE OF{"); StringBuilder sb = new StringBuilder();
appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
sb.append("{\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
if (seqOf == null) { if (seqOf == null) {
sb.append("null"); sb.append("null");
} }
else { else {
Iterator<SEQUENCE> it = seqOf.iterator(); Iterator<SEQUENCE> it = seqOf.iterator();
if (it.hasNext()) { if (it.hasNext()) {
sb.append(it.next()); it.next().appendAsString(sb, indentLevel + 1);
while (it.hasNext()) { while (it.hasNext()) {
sb.append(", ").append(it.next()); sb.append(",\n");
for (int i = 0; i < indentLevel + 1; i++) {
sb.append("\t");
}
it.next().appendAsString(sb, indentLevel + 1);
} }
} }
} }
sb.append("\n");
for (int i = 0; i < indentLevel; i++) {
sb.append("\t");
}
sb.append("}"); sb.append("}");
return sb.toString();
} }
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.presentation.asn1; package org.openmuc.josistack.internal.presentation.asn1;
@ -8,6 +8,8 @@ import org.openmuc.jasn1.ber.types.BerOctetString;
public class SimplyEncodedData extends BerOctetString { public class SimplyEncodedData extends BerOctetString {
private static final long serialVersionUID = 1L;
public SimplyEncodedData() { public SimplyEncodedData() {
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.presentation.asn1; package org.openmuc.josistack.internal.presentation.asn1;
@ -8,6 +8,8 @@ import org.openmuc.jasn1.ber.types.BerObjectIdentifier;
public class TransferSyntaxName extends BerObjectIdentifier { public class TransferSyntaxName extends BerObjectIdentifier {
private static final long serialVersionUID = 1L;
public TransferSyntaxName() { public TransferSyntaxName() {
} }

@ -1,16 +1,20 @@
/** /**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.presentation.asn1; package org.openmuc.josistack.internal.presentation.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class UserData { public class UserData implements Serializable {
private static final long serialVersionUID = 1L;
public byte[] code = null; public byte[] code = null;
private SimplyEncodedData simplyEncodedData = null; private SimplyEncodedData simplyEncodedData = null;
@ -39,7 +43,7 @@ public class UserData {
return fullyEncodedData; return fullyEncodedData;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -102,22 +106,32 @@ public class UserData {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder();
appendAsString(sb, 0);
return sb.toString();
}
public void appendAsString(StringBuilder sb, int indentLevel) {
if (simplyEncodedData != null) { if (simplyEncodedData != null) {
return "CHOICE{simplyEncodedData: " + simplyEncodedData + "}"; sb.append("simplyEncodedData: ").append(simplyEncodedData);
return;
} }
if (fullyEncodedData != null) { if (fullyEncodedData != null) {
return "CHOICE{fullyEncodedData: " + fullyEncodedData + "}"; sb.append("fullyEncodedData: ");
fullyEncodedData.appendAsString(sb, indentLevel + 1);
return;
} }
return "unknown"; sb.append("<none>");
} }
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.7.2-SNAPSHOT (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.josistack.internal.presentation.asn1; package org.openmuc.josistack.internal.presentation.asn1;
@ -8,6 +8,8 @@ import org.openmuc.jasn1.ber.types.BerBitString;
public class UserSessionRequirements extends BerBitString { public class UserSessionRequirements extends BerBitString {
private static final long serialVersionUID = 1L;
public UserSessionRequirements() { public UserSessionRequirements() {
} }
@ -19,4 +21,8 @@ public class UserSessionRequirements extends BerBitString {
super(value, numBits); super(value, numBits);
} }
public UserSessionRequirements(boolean[] value) {
super(value);
}
} }

@ -1,15 +1,16 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class AccessResult implements Serializable { public class AccessResult implements Serializable {
@ -42,7 +43,7 @@ public class AccessResult implements Serializable {
return success; return success;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -105,7 +106,7 @@ public class AccessResult implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }

@ -1,19 +1,20 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class AlternateAccess implements Serializable { public class AlternateAccess implements Serializable {
@ -41,7 +42,7 @@ public class AlternateAccess implements Serializable {
return unnamed; return unnamed;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -90,7 +91,7 @@ public class AlternateAccess implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }
@ -134,11 +135,11 @@ public class AlternateAccess implements Serializable {
return seqOf; return seqOf;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -195,7 +196,7 @@ public class AlternateAccess implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerNull; import org.openmuc.jasn1.ber.types.BerNull;
import org.openmuc.jasn1.ber.types.string.BerVisibleString; import org.openmuc.jasn1.ber.types.string.BerVisibleString;
@ -52,7 +53,7 @@ public class AlternateAccessSelection implements Serializable {
return basic; return basic;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -98,7 +99,7 @@ public class AlternateAccessSelection implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }
@ -155,11 +156,11 @@ public class AlternateAccessSelection implements Serializable {
return numberOfElements; return numberOfElements;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -234,7 +235,7 @@ public class AlternateAccessSelection implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@ -324,7 +325,7 @@ public class AlternateAccessSelection implements Serializable {
return allElements; return allElements;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -420,7 +421,7 @@ public class AlternateAccessSelection implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }
@ -490,11 +491,11 @@ public class AlternateAccessSelection implements Serializable {
return alternateAccess; return alternateAccess;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -558,7 +559,7 @@ public class AlternateAccessSelection implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@ -634,7 +635,7 @@ public class AlternateAccessSelection implements Serializable {
return basic; return basic;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -680,7 +681,7 @@ public class AlternateAccessSelection implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }
@ -737,11 +738,11 @@ public class AlternateAccessSelection implements Serializable {
return numberOfElements; return numberOfElements;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -816,7 +817,7 @@ public class AlternateAccessSelection implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@ -906,7 +907,7 @@ public class AlternateAccessSelection implements Serializable {
return allElements; return allElements;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -1002,7 +1003,7 @@ public class AlternateAccessSelection implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }
@ -1069,7 +1070,7 @@ public class AlternateAccessSelection implements Serializable {
return selectAccess; return selectAccess;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -1132,7 +1133,7 @@ public class AlternateAccessSelection implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class ConfirmedErrorPDU implements Serializable { public class ConfirmedErrorPDU implements Serializable {
@ -54,11 +55,11 @@ public class ConfirmedErrorPDU implements Serializable {
return serviceError; return serviceError;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -146,7 +147,7 @@ public class ConfirmedErrorPDU implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerInteger; import org.openmuc.jasn1.ber.types.BerInteger;
public class ConfirmedRequestPDU implements Serializable { public class ConfirmedRequestPDU implements Serializable {
@ -46,11 +47,11 @@ public class ConfirmedRequestPDU implements Serializable {
return service; return service;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -117,7 +118,7 @@ public class ConfirmedRequestPDU implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerInteger; import org.openmuc.jasn1.ber.types.BerInteger;
public class ConfirmedResponsePDU implements Serializable { public class ConfirmedResponsePDU implements Serializable {
@ -46,11 +47,11 @@ public class ConfirmedResponsePDU implements Serializable {
return service; return service;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -117,7 +118,7 @@ public class ConfirmedResponsePDU implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class ConfirmedServiceRequest implements Serializable { public class ConfirmedServiceRequest implements Serializable {
@ -89,7 +90,7 @@ public class ConfirmedServiceRequest implements Serializable {
return deleteNamedVariableList; return deleteNamedVariableList;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -230,7 +231,7 @@ public class ConfirmedServiceRequest implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }

@ -1,15 +1,16 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class ConfirmedServiceResponse implements Serializable { public class ConfirmedServiceResponse implements Serializable {
@ -88,7 +89,7 @@ public class ConfirmedServiceResponse implements Serializable {
return deleteNamedVariableList; return deleteNamedVariableList;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -221,7 +222,7 @@ public class ConfirmedServiceResponse implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }

@ -1,19 +1,20 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerBitString; import org.openmuc.jasn1.ber.types.BerBitString;
import org.openmuc.jasn1.ber.types.BerBoolean; import org.openmuc.jasn1.ber.types.BerBoolean;
import org.openmuc.jasn1.ber.types.BerInteger; import org.openmuc.jasn1.ber.types.BerInteger;
@ -49,11 +50,11 @@ public class Data implements Serializable {
return seqOf; return seqOf;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -110,7 +111,7 @@ public class Data implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@ -177,11 +178,11 @@ public class Data implements Serializable {
return seqOf; return seqOf;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -238,7 +239,7 @@ public class Data implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@ -398,7 +399,7 @@ public class Data implements Serializable {
return utcTime; return utcTime;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -601,7 +602,7 @@ public class Data implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class DefineNamedVariableListRequest implements Serializable { public class DefineNamedVariableListRequest implements Serializable {
@ -45,11 +46,11 @@ public class DefineNamedVariableListRequest implements Serializable {
return listOfVariable; return listOfVariable;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -116,7 +117,7 @@ public class DefineNamedVariableListRequest implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,19 +1,20 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerInteger; import org.openmuc.jasn1.ber.types.BerInteger;
import org.openmuc.jasn1.ber.types.string.BerVisibleString; import org.openmuc.jasn1.ber.types.string.BerVisibleString;
@ -44,11 +45,11 @@ public class DeleteNamedVariableListRequest implements Serializable {
return seqOf; return seqOf;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -105,7 +106,7 @@ public class DeleteNamedVariableListRequest implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@ -171,7 +172,7 @@ public class DeleteNamedVariableListRequest implements Serializable {
return basic; return basic;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -217,7 +218,7 @@ public class DeleteNamedVariableListRequest implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }
@ -279,11 +280,11 @@ public class DeleteNamedVariableListRequest implements Serializable {
return domainName; return domainName;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -386,7 +387,7 @@ public class DeleteNamedVariableListRequest implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class DeleteNamedVariableListResponse implements Serializable { public class DeleteNamedVariableListResponse implements Serializable {
@ -45,11 +46,11 @@ public class DeleteNamedVariableListResponse implements Serializable {
return numberDeleted; return numberDeleted;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -124,7 +125,7 @@ public class DeleteNamedVariableListResponse implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerNull; import org.openmuc.jasn1.ber.types.BerNull;
public class GetNameListRequest implements Serializable { public class GetNameListRequest implements Serializable {
@ -57,7 +58,7 @@ public class GetNameListRequest implements Serializable {
return aaSpecific; return aaSpecific;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -134,7 +135,7 @@ public class GetNameListRequest implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }
@ -206,11 +207,11 @@ public class GetNameListRequest implements Serializable {
return continueAfter; return continueAfter;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -312,7 +313,7 @@ public class GetNameListRequest implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,19 +1,20 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerBoolean; import org.openmuc.jasn1.ber.types.BerBoolean;
public class GetNameListResponse implements Serializable { public class GetNameListResponse implements Serializable {
@ -43,11 +44,11 @@ public class GetNameListResponse implements Serializable {
return seqOf; return seqOf;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -104,7 +105,7 @@ public class GetNameListResponse implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@ -177,11 +178,11 @@ public class GetNameListResponse implements Serializable {
return moreFollows; return moreFollows;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -261,7 +262,7 @@ public class GetNameListResponse implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerBoolean; import org.openmuc.jasn1.ber.types.BerBoolean;
public class GetNamedVariableListAttributesResponse implements Serializable { public class GetNamedVariableListAttributesResponse implements Serializable {
@ -46,11 +47,11 @@ public class GetNamedVariableListAttributesResponse implements Serializable {
return listOfVariable; return listOfVariable;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -125,7 +126,7 @@ public class GetNamedVariableListAttributesResponse implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class GetVariableAccessAttributesRequest implements Serializable { public class GetVariableAccessAttributesRequest implements Serializable {
@ -34,7 +35,7 @@ public class GetVariableAccessAttributesRequest implements Serializable {
return name; return name;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -88,7 +89,7 @@ public class GetVariableAccessAttributesRequest implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerBoolean; import org.openmuc.jasn1.ber.types.BerBoolean;
public class GetVariableAccessAttributesResponse implements Serializable { public class GetVariableAccessAttributesResponse implements Serializable {
@ -46,11 +47,11 @@ public class GetVariableAccessAttributesResponse implements Serializable {
return typeDescription; return typeDescription;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -130,7 +131,7 @@ public class GetVariableAccessAttributesResponse implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,19 +1,20 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class InformationReport implements Serializable { public class InformationReport implements Serializable {
@ -42,11 +43,11 @@ public class InformationReport implements Serializable {
return seqOf; return seqOf;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -103,7 +104,7 @@ public class InformationReport implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@ -176,11 +177,11 @@ public class InformationReport implements Serializable {
return listOfAccessResult; return listOfAccessResult;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -247,7 +248,7 @@ public class InformationReport implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class InitiateRequestPDU implements Serializable { public class InitiateRequestPDU implements Serializable {
@ -58,11 +59,11 @@ public class InitiateRequestPDU implements Serializable {
return servicesSupportedCalling; return servicesSupportedCalling;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -151,7 +152,7 @@ public class InitiateRequestPDU implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@ -264,11 +265,11 @@ public class InitiateRequestPDU implements Serializable {
return initRequestDetail; return initRequestDetail;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -383,7 +384,7 @@ public class InitiateRequestPDU implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class InitiateResponsePDU implements Serializable { public class InitiateResponsePDU implements Serializable {
@ -58,11 +59,11 @@ public class InitiateResponsePDU implements Serializable {
return servicesSupportedCalled; return servicesSupportedCalled;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -151,7 +152,7 @@ public class InitiateResponsePDU implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@ -264,11 +265,11 @@ public class InitiateResponsePDU implements Serializable {
return initResponseDetail; return initResponseDetail;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -383,7 +384,7 @@ public class InitiateResponsePDU implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,15 +1,16 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class MMSpdu implements Serializable { public class MMSpdu implements Serializable {
@ -105,7 +106,7 @@ public class MMSpdu implements Serializable {
return concludeRequestPDU; return concludeRequestPDU;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -266,7 +267,7 @@ public class MMSpdu implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }

@ -1,15 +1,16 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerInteger; import org.openmuc.jasn1.ber.types.BerInteger;
public class ObjectClass implements Serializable { public class ObjectClass implements Serializable {
@ -34,7 +35,7 @@ public class ObjectClass implements Serializable {
return basicObjectClass; return basicObjectClass;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -83,7 +84,7 @@ public class ObjectClass implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.string.BerVisibleString; import org.openmuc.jasn1.ber.types.string.BerVisibleString;
public class ObjectName implements Serializable { public class ObjectName implements Serializable {
@ -52,11 +53,11 @@ public class ObjectName implements Serializable {
return itemID; return itemID;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -125,7 +126,7 @@ public class ObjectName implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@ -206,7 +207,7 @@ public class ObjectName implements Serializable {
return aaSpecific; return aaSpecific;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -283,7 +284,7 @@ public class ObjectName implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
@ -21,4 +21,8 @@ public class ParameterSupportOptions extends BerBitString {
super(value, numBits); super(value, numBits);
} }
public ParameterSupportOptions(boolean[] value) {
super(value);
}
} }

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerBoolean; import org.openmuc.jasn1.ber.types.BerBoolean;
public class ReadRequest implements Serializable { public class ReadRequest implements Serializable {
@ -46,11 +47,11 @@ public class ReadRequest implements Serializable {
return variableAccessSpecification; return variableAccessSpecification;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -129,7 +130,7 @@ public class ReadRequest implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,19 +1,20 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class ReadResponse implements Serializable { public class ReadResponse implements Serializable {
@ -42,11 +43,11 @@ public class ReadResponse implements Serializable {
return seqOf; return seqOf;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -103,7 +104,7 @@ public class ReadResponse implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@ -176,11 +177,11 @@ public class ReadResponse implements Serializable {
return listOfAccessResult; return listOfAccessResult;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -259,7 +260,7 @@ public class ReadResponse implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerInteger; import org.openmuc.jasn1.ber.types.BerInteger;
public class RejectPDU implements Serializable { public class RejectPDU implements Serializable {
@ -129,7 +130,7 @@ public class RejectPDU implements Serializable {
return concludeErrorPDU; return concludeErrorPDU;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -318,7 +319,7 @@ public class RejectPDU implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }
@ -421,11 +422,11 @@ public class RejectPDU implements Serializable {
return rejectReason; return rejectReason;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -494,7 +495,7 @@ public class RejectPDU implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerInteger; import org.openmuc.jasn1.ber.types.BerInteger;
import org.openmuc.jasn1.ber.types.string.BerVisibleString; import org.openmuc.jasn1.ber.types.string.BerVisibleString;
@ -148,7 +149,7 @@ public class ServiceError implements Serializable {
return others; return others;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -365,7 +366,7 @@ public class ServiceError implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }
@ -487,11 +488,11 @@ public class ServiceError implements Serializable {
return additionalDescription; return additionalDescription;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -592,7 +593,7 @@ public class ServiceError implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
@ -21,4 +21,8 @@ public class ServiceSupportOptions extends BerBitString {
super(value, numBits); super(value, numBits);
} }
public ServiceSupportOptions(boolean[] value) {
super(value);
}
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,19 +1,20 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
import org.openmuc.jasn1.ber.types.BerBoolean; import org.openmuc.jasn1.ber.types.BerBoolean;
import org.openmuc.jasn1.ber.types.BerInteger; import org.openmuc.jasn1.ber.types.BerInteger;
import org.openmuc.jasn1.ber.types.BerNull; import org.openmuc.jasn1.ber.types.BerNull;
@ -66,11 +67,11 @@ public class TypeDescription implements Serializable {
return elementType; return elementType;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -163,7 +164,7 @@ public class TypeDescription implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@ -263,11 +264,11 @@ public class TypeDescription implements Serializable {
return componentType; return componentType;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -346,7 +347,7 @@ public class TypeDescription implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@ -413,11 +414,11 @@ public class TypeDescription implements Serializable {
return seqOf; return seqOf;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -474,7 +475,7 @@ public class TypeDescription implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@ -547,11 +548,11 @@ public class TypeDescription implements Serializable {
return components; return components;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -625,7 +626,7 @@ public class TypeDescription implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@ -706,11 +707,11 @@ public class TypeDescription implements Serializable {
return exponentWidth; return exponentWidth;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -779,7 +780,7 @@ public class TypeDescription implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }
@ -941,7 +942,7 @@ public class TypeDescription implements Serializable {
return utcTime; return utcTime;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -1144,7 +1145,7 @@ public class TypeDescription implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }

@ -1,15 +1,16 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class TypeSpecification implements Serializable { public class TypeSpecification implements Serializable {
@ -33,7 +34,7 @@ public class TypeSpecification implements Serializable {
return typeDescription; return typeDescription;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -82,7 +83,7 @@ public class TypeSpecification implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }

@ -1,16 +1,17 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerLength; import org.openmuc.jasn1.ber.BerLength;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class UnconfirmedPDU implements Serializable { public class UnconfirmedPDU implements Serializable {
@ -36,11 +37,11 @@ public class UnconfirmedPDU implements Serializable {
return service; return service;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
return encode(os, true); return encode(os, true);
} }
public int encode(BerByteArrayOutputStream os, boolean withTag) throws IOException { public int encode(OutputStream os, boolean withTag) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -96,7 +97,7 @@ public class UnconfirmedPDU implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os, false); encode(os, false);
code = os.getArray(); code = os.getArray();
} }

@ -1,15 +1,16 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.OutputStream;
import java.io.Serializable; import java.io.Serializable;
import org.openmuc.jasn1.ber.BerByteArrayOutputStream;
import org.openmuc.jasn1.ber.BerTag; import org.openmuc.jasn1.ber.BerTag;
import org.openmuc.jasn1.ber.ReverseByteArrayOutputStream;
public class UnconfirmedService implements Serializable { public class UnconfirmedService implements Serializable {
@ -33,7 +34,7 @@ public class UnconfirmedService implements Serializable {
return informationReport; return informationReport;
} }
public int encode(BerByteArrayOutputStream os) throws IOException { public int encode(OutputStream os) throws IOException {
if (code != null) { if (code != null) {
for (int i = code.length - 1; i >= 0; i--) { for (int i = code.length - 1; i >= 0; i--) {
@ -82,7 +83,7 @@ public class UnconfirmedService implements Serializable {
} }
public void encodeAndSave(int encodingSizeGuess) throws IOException { public void encodeAndSave(int encodingSizeGuess) throws IOException {
BerByteArrayOutputStream os = new BerByteArrayOutputStream(encodingSizeGuess); ReverseByteArrayOutputStream os = new ReverseByteArrayOutputStream(encodingSizeGuess);
encode(os); encode(os);
code = os.getArray(); code = os.getArray();
} }

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;

@ -1,5 +1,5 @@
/** /**
* This class file was automatically generated by jASN1 v1.8.0 (http://www.openmuc.org) * This class file was automatically generated by jASN1 v1.9.0 (http://www.openmuc.org)
*/ */
package org.openmuc.openiec61850.internal.mms.asn1; package org.openmuc.openiec61850.internal.mms.asn1;

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save