Package com.amazonaws.services.sns.util

Examples of com.amazonaws.services.sns.util.SignatureChecker


  private boolean validSignature(String source, JSONObject jsonObject)
      throws JSONException, IOException {

    PublicKey pubKey = fetchPubKey(jsonObject.getString("SigningCertURL"));
    SignatureChecker signatureChecker = new SignatureChecker();

    return signatureChecker.verifyMessageSignature(source, pubKey);
  }
View Full Code Here


  private boolean validSignature(String source, JSONObject jsonObject)
      throws JSONException, IOException {

    PublicKey pubKey = fetchPubKey(jsonObject.getString("SigningCertURL"));
    SignatureChecker signatureChecker = new SignatureChecker();

    return signatureChecker.verifyMessageSignature(source, pubKey);
  }
View Full Code Here

TOP

Related Classes of com.amazonaws.services.sns.util.SignatureChecker

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.