@Override
    public @NotNull INode enrich(@NotNull INode node) {
        if (node instanceof Signature signature) {
            return enrich(signature);
        }
        return node;
    }
@Test
    void shaAndRSA() {
        DetectionLocation testDetectionLocation =
                new DetectionLocation("testfile", 1, 1, List.of("test"), () -> "SSL");
        final RSA rsa = new RSA(Signature.class, testDetectionLocation);
        rsa.put(new SHA2(224, new SHA2(512, testDetectionLocation), testDetectionLocation));
        this.logBefore(rsa);

        final SignatureEnricher signatureEnricher = new SignatureEnricher();
        final INode enriched = signatureEnricher.enrich(rsa);
        this.logAfter(enriched);

        assertThat(rsa.hasChildOfType(Oid.class)).isPresent();
        assertThat(rsa.hasChildOfType(Oid.class).get().asString())
                .isEqualTo("1.2.840.113549.1.1.15");
    }