Skip to content

NameConstraints use incorrect signature #36

Description

@tonnyavery

Hi.
I'm trying to build HttpResponseCache myself using eclipse.
I've added all of the necessary libraries, including the latest BouncyCastle build.
The only build error still left is NameConstraints reference in TestKeyStore.java file.
According to specification here http://www.bouncycastle.org/docs/docs1.5on/index.html it should be having GeneralSubtree[] as arguments, but you use Vectors in your code.

https://github.com/candrews/HttpResponseCache/blob/master/src/test/java/com/integralblue/httpresponsecache/compat/java/security/TestKeyStore.java
x509cg.addExtension(X509Extensions.NameConstraints,
true,
new NameConstraints(permittedNameConstraints,
excludedNameConstraints));

I'll switch to jars for now and leaving a message here just for you to know that issue is present.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions