Charles, 

Maybe I'm getting my terminology mixed up here. 

I basically have two different types of object . 

>> PKCS10CertificationRequestHolder and a 
>> PKCS10CertificationRequest 

In order for me to pass the holder object to another class the holder object 
needs to be just a request object as per my Java example. I may be missing 
something obvious here, but how would I do this in JRuby?

Regards,

Carl


Carl Bourne | Senior Sales Engineer | mobile: +44 (0) 7770 284294 | 
www.venafi.com

On 17 Oct 2012, at 19:43, Charles Oliver Nutter <head...@headius.com> wrote:

> There's no casting (in the usual Java sense) required in JRuby; if the
> methods exist, they'll be callable. Just go with it :)
> 
> - Charlie
> 
> On Wed, Oct 17, 2012 at 1:08 PM, Carl Bourne <carl.bou...@me.com> wrote:
>> Hi,
>> 
>> I need to do the equivalent of this in JRuby:--
>> 
>> PKCS10CertificationRequest csr = csrBuilder.build(signer);
>> 
>> Which equates to what I think is casting a 
>> "org.bouncycastle.pkcs.PKCS10CertificationRequestHolder" object to a  
>> "org.bouncycastle.pkcs.PKCS10CertificationRequest" object.
>> 
>> Is this possible?
>> 
>> Regards,
>> 
>> Carl
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>> 
>>    http://xircles.codehaus.org/manage_email
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>    http://xircles.codehaus.org/manage_email
> 
> 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to