Return-Path: X-Original-To: apmail-santuario-dev-archive@www.apache.org Delivered-To: apmail-santuario-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 29BB4D170 for ; Tue, 7 Aug 2012 15:33:54 +0000 (UTC) Received: (qmail 60003 invoked by uid 500); 7 Aug 2012 15:33:54 -0000 Delivered-To: apmail-santuario-dev-archive@santuario.apache.org Received: (qmail 59977 invoked by uid 500); 7 Aug 2012 15:33:53 -0000 Mailing-List: contact dev-help@santuario.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@santuario.apache.org Delivered-To: mailing list dev@santuario.apache.org Received: (qmail 59967 invoked by uid 99); 7 Aug 2012 15:33:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2012 15:33:53 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=HK_LOTTO_NAME,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pushpalankajaya@gmail.com designates 209.85.161.182 as permitted sender) Received: from [209.85.161.182] (HELO mail-gg0-f182.google.com) (209.85.161.182) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2012 15:33:47 +0000 Received: by ggnk4 with SMTP id k4so5633951ggn.27 for ; Tue, 07 Aug 2012 08:33:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=HqMtGFI1BzYQ7HGLtmLj/5LZy6dbNw8XivCwD3hjp7A=; b=a02ai9pt/DTOXGnRJM338dlY0tVYR1kdZv4RK4yFo0hAkKAOhcAd9+fGJLGYfv/YMF +MA87RRvGNZwvyoYdgJVSDkYG9mnMhr3PKT5upIp54fS9EgGcT+QTU7Y8ipbFJiP+HEE MeDS5TMsleSlPFtOmTVxjNv4xOkFy+Gac28e7rIOBiDVU8m0bxue6tGUFXjapjTfUE6U R+vmXzFcTQW9xsGGsV5aRznQQ/3Ud2c2vWcyEiSM69o5T/IIUXNlmAvrYMwxo7woDuKJ /lR11w5R4QiQaBiwBt068AnObDMX0IZY0HbmgkSZt41FOw+W9FMoLVYyOqs3lhykvahj J4ug== Received: by 10.50.156.133 with SMTP id we5mr8849674igb.62.1344353606407; Tue, 07 Aug 2012 08:33:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.96.170 with HTTP; Tue, 7 Aug 2012 08:33:06 -0700 (PDT) From: Pushpalanka Jayawardhana Date: Tue, 7 Aug 2012 21:03:06 +0530 Message-ID: Subject: validating the key to be trusted To: dev@santuario.apache.org Content-Type: multipart/alternative; boundary=e89a8f2350092996bb04c6aeb7c7 --e89a8f2350092996bb04c6aeb7c7 Content-Type: text/plain; charset=ISO-8859-1 Hi devs, I am trying to validate the signed key and certificates to be trusted.For trusted parties, their public keys are imported to the trusted keystore. Now I want to check whether the sent key is present in the trusted store. Can someone point me to a relevant resource to look at. I could see that 'The KeyStoreResolver is able to retrieve Certificates from a JAVA KeyStore object. This KeyStoreResolver is constructed from an open JAVA KeyStore.' in FAQ. But no example were found. Found this which has done this in raw Java. Wonder whether Santuario has made this easier. -- Pushpalanka Jayawardhana --e89a8f2350092996bb04c6aeb7c7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi d= evs,

I am trying to validate the signed key and ce= rtificates to be trusted.For trusted parties, their public keys are impo= rted to the trusted keystore. Now I want to check whether the sent key is p= resent in the trusted store.
Can someone point me to a relevant resource to look at. I could see that &#= 39;The KeyStoreResolver is able to ret= rieve Certificates from a JAVA KeyStore object. This KeyStoreResolver is co= nstructed from an open JAVA KeyStore.' in
FAQ. But no example were found.

<= div>Found this which has done this in raw Java. Wond= er whether Santuario has made this easier.
<= span class=3D"Apple-style-span" style=3D"line-height:16px">

--