Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update URL #759

Merged
merged 5 commits into from Aug 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions .gitignore
Expand Up @@ -17,13 +17,15 @@ nosetests.xml

# Mr Developer
.mr.developer.cfg
.project

**/.project
.pydevproject
*.iml
.idea
.settings
.DS_Store
.classpath
**/.classpath
**/.checkstyle

# Built documentation
docs/
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012 Google Inc.
* Copyright 2012 Google LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
Expand Down Expand Up @@ -38,15 +38,14 @@
import javax.net.ssl.X509TrustManager;

/**
* <a href="http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-11">JSON Web Signature
* (JWS)</a>.
* <a href="https://tools.ietf.org/html/rfc7515">JSON Web Signature(JWS)</a>.
*
* <p>Sample usage:
*
* <pre>
* public static void printPayload(JsonFactory jsonFactory, String tokenString) throws IOException {
* JsonWebSignature jws = JsonWebSignature.parse(jsonFactory, tokenString);
* System.out.println(jws.getPayload());
* JsonWebSignature jws = JsonWebSignature.parse(jsonFactory, tokenString);
* System.out.println(jws.getPayload());
* }
* </pre>
*
Expand All @@ -67,7 +66,7 @@ public class JsonWebSignature extends JsonWebToken {
* @param header header
* @param payload payload
* @param signatureBytes bytes of the signature
* @param signedContentBytes bytes of the signature content
* @param signedContentBytes bytes of the signed content
*/
public JsonWebSignature(
Header header, Payload payload, byte[] signatureBytes, byte[] signedContentBytes) {
Expand All @@ -77,8 +76,8 @@ public JsonWebSignature(
}

/**
* Header as specified in <a
* href="http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-11#section-4.1">Reserved
* Header as specified in
* <a href="https://tools.ietf.org/html/rfc7515#section-4.1">Reserved
* Header Parameter Names</a>.
*/
public static class Header extends JsonWebToken.Header {
Expand Down Expand Up @@ -406,11 +405,11 @@ public final boolean verifySignature(PublicKey publicKey) throws GeneralSecurity
*
* <p>The leaf certificate of the certificate chain must be an SSL server certificate.
*
* @param trustManager Trust manager used to verify the X509 certificate chain embedded in this
* message.
* @return The signature certificate if the signature could be verified, null otherwise.
* @param trustManager trust manager used to verify the X509 certificate chain embedded in this
* message
* @return the signature certificate if the signature could be verified, null otherwise
* @throws GeneralSecurityException
* @since 1.19.1.
* @since 1.19.1
*/
@Beta
public final X509Certificate verifySignature(X509TrustManager trustManager)
Expand Down Expand Up @@ -441,7 +440,7 @@ public final X509Certificate verifySignature(X509TrustManager trustManager)
*
* <p>The leaf certificate of the certificate chain must be an SSL server certificate.
*
* @return The signature certificate if the signature could be verified, null otherwise.
* @return the signature certificate if the signature could be verified, null otherwise
* @throws GeneralSecurityException
* @since 1.19.1.
*/
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012 Google Inc.
* Copyright 2012 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
Expand All @@ -22,7 +22,7 @@
import java.util.List;

/**
* <a href="http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-08">JSON Web Token (JWT)</a>.
* <a href="https://tools.ietf.org/html/rfc7519">JSON Web Token (JWT)</a>.
*
* <p>Implementation is not thread-safe.
*
Expand All @@ -47,8 +47,8 @@ public JsonWebToken(Header header, Payload payload) {
}

/**
* Header as specified in <a
* href="http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-08#section-5">JWT Header</a>.
* Header as specified in
* <a href="https://tools.ietf.org/html/rfc7519#section-5">JWT Header</a>.
*/
public static class Header extends GenericJson {

Expand Down Expand Up @@ -115,8 +115,8 @@ public Header clone() {
}

/**
* Payload as specified in <a
* href="http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-08#section-4.1">Reserved Claim
* Payload as specified in
* <a href="https://tools.ietf.org/html/rfc7519#section-4.1">Reserved Claim
* Names</a>.
*/
public static class Payload extends GenericJson {
Expand Down
9 changes: 0 additions & 9 deletions samples/dailymotion-simple-cmdline-sample/.classpath

This file was deleted.

23 changes: 0 additions & 23 deletions samples/dailymotion-simple-cmdline-sample/.project

This file was deleted.