Created a jira [1] [1] https://wso2.org/jira/browse/CARBON-15002
Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, Oct 3, 2014 at 9:47 PM, Prabath Siriwardena <[email protected]> wrote: > Yes... need to fix that.. > > return (PublicKey) > primaryKeyStore.getCertificate(alias).getPublicKey(); should be > replaced as, > > return (PublicKey) > getPrimaryKeyStore().getCertificate(alias).getPublicKey(); > > Thanks & regards, > -Prabath > > On Fri, Oct 3, 2014 at 9:33 PM, Danushka Fernando <[email protected]> > wrote: > > Hi All > > I noticed that if I call the method in $subject without calling > > KeyStoreManager.getDefaultPrimaryCertificate() its throwing a null > pointer. > > Is this a bug or the expected behavior. AFAIU when we call $subject it > > should internally load the default primary cert. Correct me if I am > wrong. > > > > > > Thanks & Regards > > Danushka Fernando > > Software Engineer > > WSO2 inc. http://wso2.com/ > > Mobile : +94716332729 > > > > -- > Thanks & Regards, > Prabath > > Twitter : @prabath > LinkedIn : http://www.linkedin.com/in/prabathsiriwardena > > Mobile : +94 71 809 6732 > > http://blog.facilelogin.com > http://blog.api-security.org >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
