iiop-openjdk/src/main/java/org/wildfly/iiop/openjdk/csiv2/CSIv2Util.java
public static byte[] createGSSUPMechOID() {
        // kudos to org.ietf.jgss.Oid for the Oid utility need to strip the "oid:" part of the GSSUPMechOID first.

        byte[] retval = {};
        try {
            Oid oid = new Oid(GSSUPMechOID.value.substring(4));
            retval = oid.getDER();
        } catch (GSSException e) {
            IIOPLogger.ROOT_LOGGER.caughtExceptionEncodingGSSUPMechOID(e);
        }
        return retval;
    }
public static byte[] createGSSUPMechOID() {
        // kudos to org.ietf.jgss.Oid for the Oid utility need to strip the "oid:" part of the GSSUPMechOID first.

        byte[] retval = {};
        try {
            Oid oid = new Oid(GSSUPMechOID.value.substring(4));
            retval = oid.getDER();
        } catch (GSSException e) {
            IIOPLogger.ROOT_LOGGER.caughtExceptionEncodingGSSUPMechOID(e);
        }
        return retval;
    }
public static byte [ ] createGSSUPMechOID ( ) { // kudos to org.ietf.jgss.Oid for the Oid utility need to strip the "oid:" part of the GSSUPMechOID first. byte [ ] retval = { } ; try { Oid oid = new Oid ( GSSUPMechOID . value . substring ( 4 ) ) ; retval = oid . getDER ( ) ; } catch ( GSSException e ) { IIOPLogger . ROOT_LOGGER . caughtExceptionEncodingGSSUPMechOID ( e ) ; } return retval ; }
<p>
Create an ASN.1, DER encoded representation for the GSSUP OID mechanism.
</p>

@return the DER encoded representation of the GSSUP OID.
<p > Create an ASN . 1 DER encoded representation for the GSSUP OID mechanism . < / p >