src/main/java/org/apache/jcp/xml/dsig/internal/dom/DOMKeyValue.java [499:515]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        private static String getCurveOid(ECParameterSpec params) {
            // Check that the params represent one of the supported
            // curves. If there is a match, return the object identifier
            // of the curve.
            Curve match;
            if (matchCurve(params, SECP256R1)) {
                match = SECP256R1;
            } else if (matchCurve(params, SECP384R1)) {
                match = SECP384R1;
            } else if (matchCurve(params, SECP521R1)) {
                match = SECP521R1;
            } else if (matchCurve(params, BRAINPOOLP256R1)) {
                match = BRAINPOOLP256R1;
            } else if (matchCurve(params, BRAINPOOLP384R1)) {
                match = BRAINPOOLP384R1;
            } else if (matchCurve(params, BRAINPOOLP512R1)) {
                match = BRAINPOOLP512R1;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/org/apache/xml/security/keys/content/keyvalues/ECKeyValue.java [291:307]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private static String getCurveOid(ECParameterSpec params) {
        // Check that the params represent one of the supported
        // curves. If there is a match, return the object identifier
        // of the curve.
        Curve match;
        if (matchCurve(params, SECP256R1)) {
            match = SECP256R1;
        } else if (matchCurve(params, SECP384R1)) {
            match = SECP384R1;
        } else if (matchCurve(params, SECP521R1)) {
            match = SECP521R1;
        } else if (matchCurve(params, BRAINPOOLP256R1)) {
            match = BRAINPOOLP256R1;
        } else if (matchCurve(params, BRAINPOOLP384R1)) {
            match = BRAINPOOLP384R1;
        } else if (matchCurve(params, BRAINPOOLP512R1)) {
            match = BRAINPOOLP512R1;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



