Skip to content

Commit

Permalink
Stop managing cryptacular and use the version 1.2.7 brought by WSS4J,
Browse files Browse the repository at this point in the history
fix #1648
  • Loading branch information
ppalaga committed Jan 8, 2025
1 parent 8395e2a commit 32f22fe
Show file tree
Hide file tree
Showing 29 changed files with 233 additions and 6 deletions.
5 changes: 0 additions & 5 deletions bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -373,11 +373,6 @@
<artifactId>stax2-api</artifactId>
<version>${stax2.version}</version>
</dependency>
<dependency>
<groupId>org.cryptacular</groupId>
<artifactId>cryptacular</artifactId>
<version>${cryptacular.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.angus</groupId>
<artifactId>angus-mail</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package org.bouncycastle.asn1;

import org.bouncycastle.util.Encodable;

public abstract class ASN1Object
implements ASN1Encodable, Encodable {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package org.bouncycastle.asn1;

public abstract class ASN1Set
extends ASN1Primitive
implements org.bouncycastle.util.Iterable<ASN1Encodable> {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package org.bouncycastle.asn1.pkcs;

import org.bouncycastle.asn1.ASN1Object;
import org.bouncycastle.asn1.ASN1Primitive;

public class Attribute
extends ASN1Object {

@Override
public ASN1Primitive toASN1Primitive() {
throw new UnsupportedOperationException("Exclude io.quarkiverse.cxf:quarkus-cxf-bc-stub from"
+ " io.quarkiverse.cxf:quarkus-cxf-rt-ws-security dependencies and add Bouncy Castle instead");
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package org.bouncycastle.asn1.pkcs;

import org.bouncycastle.asn1.ASN1Object;
import org.bouncycastle.asn1.ASN1Primitive;

public class CertificationRequest
extends ASN1Object {

@Override
public ASN1Primitive toASN1Primitive() {
throw new UnsupportedOperationException("Exclude io.quarkiverse.cxf:quarkus-cxf-bc-stub from"
+ " io.quarkiverse.cxf:quarkus-cxf-rt-ws-security dependencies and add Bouncy Castle instead");
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package org.bouncycastle.asn1.pkcs;

public interface PKCSObjectIdentifiers {

}
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,9 @@ public RDN[] getRDNs() {
+ " io.quarkiverse.cxf:quarkus-cxf-rt-ws-security dependencies and add Bouncy Castle instead");
}

public X500Name(X500NameStyle style, X500Name name) {
throw new UnsupportedOperationException("Exclude io.quarkiverse.cxf:quarkus-cxf-bc-stub from"
+ " io.quarkiverse.cxf:quarkus-cxf-rt-ws-security dependencies and add Bouncy Castle instead");
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package org.bouncycastle.asn1.x500;

public interface X500NameStyle {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package org.bouncycastle.asn1.x500.style;

import org.bouncycastle.asn1.x500.X500NameStyle;

public abstract class AbstractX500NameStyle
implements X500NameStyle {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package org.bouncycastle.asn1.x500.style;

public class RFC4519Style
extends AbstractX500NameStyle {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package org.bouncycastle.asn1.x509;

import org.bouncycastle.asn1.ASN1Object;
import org.bouncycastle.asn1.ASN1Primitive;

public class BasicConstraints extends ASN1Object {

@Override
public ASN1Primitive toASN1Primitive() {
throw new UnsupportedOperationException("Exclude io.quarkiverse.cxf:quarkus-cxf-bc-stub from"
+ " io.quarkiverse.cxf:quarkus-cxf-rt-ws-security dependencies and add Bouncy Castle instead");
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package org.bouncycastle.asn1.x509;

import org.bouncycastle.asn1.ASN1Object;
import org.bouncycastle.asn1.ASN1Primitive;

public class Extension extends ASN1Object {

@Override
public ASN1Primitive toASN1Primitive() {
throw new UnsupportedOperationException("Exclude io.quarkiverse.cxf:quarkus-cxf-bc-stub from"
+ " io.quarkiverse.cxf:quarkus-cxf-rt-ws-security dependencies and add Bouncy Castle instead");
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package org.bouncycastle.asn1.x509;

import org.bouncycastle.asn1.ASN1Object;
import org.bouncycastle.asn1.ASN1Primitive;

public class KeyPurposeId
extends ASN1Object {

@Override
public ASN1Primitive toASN1Primitive() {
throw new UnsupportedOperationException("Exclude io.quarkiverse.cxf:quarkus-cxf-bc-stub from"
+ " io.quarkiverse.cxf:quarkus-cxf-rt-ws-security dependencies and add Bouncy Castle instead");
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package org.bouncycastle.asn1.x509;

import org.bouncycastle.asn1.ASN1Object;
import org.bouncycastle.asn1.ASN1Primitive;

public class KeyUsage extends ASN1Object {

@Override
public ASN1Primitive toASN1Primitive() {
throw new UnsupportedOperationException("Exclude io.quarkiverse.cxf:quarkus-cxf-bc-stub from"
+ " io.quarkiverse.cxf:quarkus-cxf-rt-ws-security dependencies and add Bouncy Castle instead");
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package org.bouncycastle.asn1.x509;

import org.bouncycastle.asn1.ASN1Object;
import org.bouncycastle.asn1.ASN1Primitive;

public class PolicyInformation extends ASN1Object {

@Override
public ASN1Primitive toASN1Primitive() {
throw new UnsupportedOperationException("Exclude io.quarkiverse.cxf:quarkus-cxf-bc-stub from"
+ " io.quarkiverse.cxf:quarkus-cxf-rt-ws-security dependencies and add Bouncy Castle instead");
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package org.bouncycastle.cert;

import java.io.IOException;

public class CertIOException extends IOException {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package org.bouncycastle.cert;

public class X509v3CertificateBuilder {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package org.bouncycastle.cert.jcajce;

public class JcaX509CertificateConverter {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package org.bouncycastle.cert.jcajce;

import java.math.BigInteger;
import java.util.Date;

import org.bouncycastle.asn1.x500.X500Name;
import org.bouncycastle.asn1.x509.SubjectPublicKeyInfo;

public class JcaX509v3CertificateBuilder {
public JcaX509v3CertificateBuilder(X500Name issuer, BigInteger serial, Date notBefore, Date notAfter, X500Name subject,
SubjectPublicKeyInfo publicKey) {
throw new UnsupportedOperationException("Exclude io.quarkiverse.cxf:quarkus-cxf-bc-stub from"
+ " io.quarkiverse.cxf:quarkus-cxf-rt-ws-security dependencies and add Bouncy Castle instead");
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package org.bouncycastle.jce.provider;

public class BouncyCastleProvider {
public BouncyCastleProvider() {
throw new UnsupportedOperationException("Exclude io.quarkiverse.cxf:quarkus-cxf-bc-stub from"
+ " io.quarkiverse.cxf:quarkus-cxf-rt-ws-security dependencies and add Bouncy Castle instead");
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package org.bouncycastle.operator;

public interface ContentSigner {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package org.bouncycastle.operator;

public class OperatorCreationException extends OperatorException {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package org.bouncycastle.operator;

public class OperatorException extends Exception {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package org.bouncycastle.operator.jcajce;

public class JcaContentSignerBuilder {

public JcaContentSignerBuilder(String signatureAlgorithm) {
throw new UnsupportedOperationException("Exclude io.quarkiverse.cxf:quarkus-cxf-bc-stub from"
+ " io.quarkiverse.cxf:quarkus-cxf-rt-ws-security dependencies and add Bouncy Castle instead");

}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package org.bouncycastle.pkcs;

public class PKCS10CertificationRequest {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package org.bouncycastle.pkcs;

public class PKCS10CertificationRequestBuilder {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package org.bouncycastle.util;

public interface Encodable {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package org.bouncycastle.util;

public interface Iterable<T>
extends java.lang.Iterable<T> {

}
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
<!-- Items annotated with @sync can be updated by running mvn cq:sync-versions -N -->
<angus-mail.version>2.0.3</angus-mail.version>
<assertj.version>3.27.2</assertj.version>
<cryptacular.version>1.2.6</cryptacular.version><!-- 1.2.7 does not work - see https://github.com/quarkiverse/quarkus-cxf/issues/1648 -->
<cxf.xjcplugins.version>4.1.0</cxf.xjcplugins.version><!-- @sync org.apache.cxf:cxf:${cxf.version} prop:cxf.xjc-utils.version -->
<ehcache.version>3.10.8</ehcache.version>
<fastinfoset.version>2.1.1</fastinfoset.version>
Expand Down

0 comments on commit 32f22fe

Please sign in to comment.