<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 5/31/16 2:30 PM, cbaker wrote:<br>
    </div>
    <blockquote cite="mid:1464719404812-7625851.post@n2.nabble.com"
      type="cite">
      <pre wrap="">I'm trying to write a scripted attribute resolver that uses the java
BouncyCastle libraries to do some RSA encryption.</pre>
    </blockquote>
    <br>
    I agree with Scott's other comments.  To add...<br>
    <br>
    <br>
    <blockquote cite="mid:1464719404812-7625851.post@n2.nabble.com"
      type="cite">
      <pre wrap="">  When trying to call
Java.type("org.bouncycastle.openssl.PEMParser") I get a
ClassNotFoundException in idp-process.  
</pre>
    </blockquote>
    <br>
    As far as the actual error goes: start with the obvious.  Do you
    actually have that class in your dependency jar set?<br>
    <br>
    <br>
    <br>
    <br>
    <blockquote cite="mid:1464719404812-7625851.post@n2.nabble.com"
      type="cite">
      <pre wrap="">
I've included the appropriate jar files in
{shibhome}/edit-webapp/WEB-INF/lib 
</pre>
    </blockquote>
    <br>
    <br>
    Are you sure?<br>
    <br>
    I note that at least in BC 1.53, which the IdP currently ships, that
    class doesn't come in bcprov-jdk15on.jar.  It comes in
    bcpkix-jdk15on.jar.  The IdP doesn't come with that jar by default. 
    Are you adding that jar?<br>
  </body>
</html>