Uses of Class
com.nimbusds.jose.util.Base64URL
Packages that use Base64URL
Package
Description
Base Javascript Object Signing and Encryption (JOSE) interfaces and classes.
Implementations of standard Javascript Object Signing and Encryption (JOSE)
algorithms.
Cryptographic primitives for JWS signers, JWS verifiers, JWE encrypters and
JWE decrypters in the
com.nimbusds.jose.crypto package.JSON Web Key (JWK) classes.
Utility interfaces and classes.
JSON Web Token (JWT) interfaces and classes.
-
Uses of Base64URL in com.nimbusds.jose
Methods in com.nimbusds.jose that return Base64URLModifier and TypeMethodDescriptionCompletableJWSObjectSigning.complete()Completes the JWS object signing.JWEHeader.getAgreementPartyUInfo()Gets the agreement PartyUInfo (apu) parameter.JWEHeader.getAgreementPartyVInfo()Gets the agreement PartyVInfo (apv) parameter.JWECryptoParts.getAuthenticationTag()Gets the authentication tag.JWEHeader.getAuthTag()Gets the authentication tag (tag) parameter.JWEObject.getAuthTag()Returns the authentication tag of this JWE object.JWEObjectJSON.getAuthTag()Returns the authentication tag of this JWE object.JWECryptoParts.getCipherText()Gets the cipher text.JWEObject.getCipherText()Returns the cipher text of this JWE object.JWEObjectJSON.getCipherText()Returns the cipher text of this JWE object.JWECryptoParts.getEncryptedKey()Gets the encrypted key.JWEObject.getEncryptedKey()Returns the encrypted key of this JWE object.JWEObjectJSON.getEncryptedKey()Returns the encrypted key of this JWE object.JWEObjectJSON.Recipient.getEncryptedKey()Returns the encrypted key.JWECryptoParts.getInitializationVector()Gets the initialisation vector (IV).JWEHeader.getIV()Gets the initialisation vector (iv) parameter.JWEObject.getIV()Returns the initialisation vector (IV) of this JWE object.JWEObjectJSON.getIV()Returns the initialisation vector (IV) of this JWE object.Header.getParsedBase64URL()Gets the original Base64URL used to create this header.JOSEObject.getParsedParts()Returns the original parsed Base64URL parts used to create this JOSE object.JWEHeader.getPBES2Salt()Gets the PBES2 salt (p2s) parameter.JWSObject.getSignature()Returns the signature of this JWS object.JWSObjectJSON.Signature.getSignature()Returns the signature.Signs the specifiedinputof aJWS object.static Base64URL[]Splits a compact serialised JOSE object into its Base64URL-encoded parts.Header.toBase64URL()Returns a Base64URL representation of the header.Payload.toBase64URL()Returns a Base64URL representation of this payload, as required for JOSE serialisation (see RFC 7515, section 7).Methods in com.nimbusds.jose with parameters of type Base64URLModifier and TypeMethodDescriptionJWEHeader.Builder.agreementPartyUInfo(Base64URL apu) Sets the agreement PartyUInfo (apu) parameter.JWEHeader.Builder.agreementPartyVInfo(Base64URL apv) Sets the agreement PartyVInfo (apv) parameter.Sets the authentication tag (tag) parameter.byte[]JWEDecrypter.decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, byte[] aad) Decrypts the specified cipher text of aJWE Object.Sets the initialisation vector (iv) parameter.static Headerstatic Headerstatic Headerstatic JWEHeaderParses a JWE header from the specified Base64URL.static JWEHeaderParses a JWE header from the specified JSON object string.static JWEHeaderParses a JWE header from the specified JSON object.static JWSHeaderParses a JWS header from the specified Base64URL.static JWSHeaderParses a JWS header from the specified JSON object string.static JWSHeaderParses a JWS header from the specified JSON object.static PlainHeaderParses an unsecured header from the specified Base64URL.static PlainHeaderParses an unsecured header from the specified JSON string.static PlainHeaderParses an unsecured header from the specified JSON object.JWEHeader.Builder.parsedBase64URL(Base64URL base64URL) Sets the parsed Base64URL.JWSHeader.Builder.parsedBase64URL(Base64URL base64URL) Sets the parsed Base64URL.PlainHeader.Builder.parsedBase64URL(Base64URL base64URL) Sets the parsed Base64URL.Sets the PBES2 salt (p2s) parameter.protected voidJOSEObject.setParsedParts(Base64URL... parts) Sets the original parsed Base64URL parts used to create this JOSE object.booleanVerifies the specifiedsignatureof aJWS object.JWEHeader.Builder.x509CertSHA256Thumbprint(Base64URL x5t256) Sets the X.509 certificate SHA-256 thumbprint (x5t#s256) parameter.JWSHeader.Builder.x509CertSHA256Thumbprint(Base64URL x5t256) Sets the X.509 certificate SHA-256 thumbprint (x5t#S256) parameter.JWEHeader.Builder.x509CertThumbprint(Base64URL x5t) Deprecated.JWSHeader.Builder.x509CertThumbprint(Base64URL x5t) Deprecated.Constructors in com.nimbusds.jose with parameters of type Base64URLModifierConstructorDescriptionprotectedHeader(Algorithm alg, JOSEObjectType typ, String cty, Set<String> crit, Map<String, Object> customParams, Base64URL parsedBase64URL) Creates a new abstract header.JWECryptoParts(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authenticationTag) Creates a new cryptographic JWE parts instance.JWECryptoParts(Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authenticationTag) Creates a new cryptographic JWE parts instance.JWEHeader(Algorithm alg, EncryptionMethod enc, JOSEObjectType typ, String cty, Set<String> crit, URI jku, JWK jwk, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, String kid, JWK epk, CompressionAlgorithm zip, Base64URL apu, Base64URL apv, Base64URL p2s, int p2c, Base64URL iv, Base64URL tag, String skid, Map<String, Object> customParams, Base64URL parsedBase64URL) Creates a new JSON Web Encryption (JWE) header.JWEObject(Base64URL firstPart, Base64URL secondPart, Base64URL thirdPart, Base64URL fourthPart, Base64URL fifthPart) Creates a new encrypted JSON Web Encryption (JWE) object with the specified serialised parts.JWEObjectJSON(JWEHeader header, Base64URL cipherText, Base64URL iv, Base64URL authTag, List<JWEObjectJSON.Recipient> recipients, UnprotectedHeader unprotectedHeader, byte[] aad) Creates a new encrypted JSON Web Encryption (JWE) object.JWSHeader(JWSAlgorithm alg, JOSEObjectType typ, String cty, Set<String> crit, URI jku, JWK jwk, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, String kid, boolean b64, Map<String, Object> customParams, Base64URL parsedBase64URL) Creates a new JSON Web Signature (JWS) header.JWSHeader(JWSAlgorithm alg, JOSEObjectType typ, String cty, Set<String> crit, URI jku, JWK jwk, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, String kid, Map<String, Object> customParams, Base64URL parsedBase64URL) Deprecated.Creates a new signed JSON Web Signature (JWS) object with the specified serialised parts and payload which can be optionally unencoded (RFC 7797).Creates a new signed JSON Web Signature (JWS) object with the specified serialised parts.Creates a new payload from the specified Base64URL-encoded object.PlainHeader(JOSEObjectType typ, String cty, Set<String> crit, Map<String, Object> customParams, Base64URL parsedBase64URL) Creates a new unsecured (plain) header with algorithmnone.PlainObject(Base64URL firstPart, Base64URL secondPart) Creates a new unsecured JOSE object with the specified Base64URL-encoded parts.Recipient(UnprotectedHeader unprotectedHeader, Base64URL encryptedKey) Creates a new parsed recipient. -
Uses of Base64URL in com.nimbusds.jose.crypto
Methods in com.nimbusds.jose.crypto that return Base64URLModifier and TypeMethodDescriptionMethods in com.nimbusds.jose.crypto with parameters of type Base64URLModifier and TypeMethodDescriptionbyte[]AESDecrypter.decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag) Deprecated.byte[]AESDecrypter.decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, byte[] aad) byte[]DirectDecrypter.decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag) Deprecated.byte[]DirectDecrypter.decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, byte[] aad) byte[]ECDH1PUDecrypter.decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag) Deprecated.byte[]ECDH1PUDecrypter.decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, byte[] aad) byte[]ECDH1PUX25519Decrypter.decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag) Deprecated.byte[]ECDH1PUX25519Decrypter.decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, byte[] aad) byte[]ECDHDecrypter.decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag) Deprecated.byte[]ECDHDecrypter.decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, byte[] aad) byte[]MultiDecrypter.decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag) Deprecated.byte[]MultiDecrypter.decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, byte[] aad) byte[]PasswordBasedDecrypter.decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag) Deprecated.byte[]PasswordBasedDecrypter.decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, byte[] aad) byte[]RSADecrypter.decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag) Deprecated.byte[]RSADecrypter.decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, byte[] aad) byte[]X25519Decrypter.decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag) Deprecated.byte[]X25519Decrypter.decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, byte[] aad) booleanbooleanbooleanboolean -
Uses of Base64URL in com.nimbusds.jose.crypto.impl
Methods in com.nimbusds.jose.crypto.impl with parameters of type Base64URLModifier and TypeMethodDescriptionstatic byte[]Computes the Additional Authenticated Data (AAD) for the specified BASE64URL-encoded JWE header.static byte[]ContentCryptoProvider.decrypt(JWEHeader header, byte[] aad, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, SecretKey cek, JWEJCAContext jcaProvider) Decrypts the specified cipher text.static byte[]ContentCryptoProvider.decrypt(JWEHeader header, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, SecretKey cek, JWEJCAContext jcaProvider) Decrypts the specified cipher text.static byte[]AESCBC.decryptWithConcatKDF(JWEHeader header, SecretKey secretKey, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag, Provider ceProvider, Provider macProvider) Decrypts the specified cipher text using the deprecated concat KDF from JOSE draft suite 09.protected byte[]ECDH1PUCryptoProvider.decryptWithZ(JWEHeader header, byte[] aad, SecretKey Z, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag) Decrypts the encrypted JWE parts using the specified shared secret ("Z").protected byte[]ECDHCryptoProvider.decryptWithZ(JWEHeader header, byte[] aad, SecretKey Z, Base64URL encryptedKey, Base64URL iv, Base64URL cipherText, Base64URL authTag) Decrypts the encrypted JWE parts using the specified shared secret ("Z").static SecretKeyECDH1PU.deriveSharedKey(JWEHeader header, SecretKey Z, Base64URL tag, ConcatKDF concatKDF) Derives a shared key (via concat KDF).static byte[]ConcatKDF.encodeDataWithLength(Base64URL data) Encodes the specified BASE64URL encoded datadata.length || data.static JWECryptoPartsContentCryptoProvider.encrypt(JWEHeader header, byte[] clearText, byte[] aad, SecretKey cek, Base64URL encryptedKey, JWEJCAContext jcaProvider) Encrypts the specified clear text (content).static JWECryptoPartsContentCryptoProvider.encrypt(JWEHeader header, byte[] clearText, SecretKey cek, Base64URL encryptedKey, JWEJCAContext jcaProvider) Encrypts the specified clear text (content).static AuthenticatedCipherTextAESCBC.encryptWithConcatKDF(JWEHeader header, SecretKey secretKey, Base64URL encryptedKey, byte[] iv, byte[] plainText, Provider ceProvider, Provider macProvider) Encrypts the specified plain text using the deprecated concat KDF from JOSE draft suite 09. -
Uses of Base64URL in com.nimbusds.jose.jwk
Methods in com.nimbusds.jose.jwk that return Base64URLModifier and TypeMethodDescriptionstatic Base64URLComputes the SHA-256 thumbprint for the specified JWK.static Base64URLComputes the thumbprint for the specified JWK.static Base64URLThumbprintUtils.compute(String hashAlg, LinkedHashMap<String, ?> params) Computes the thumbprint for the specified required JWK parameters.JWK.computeThumbprint()Computes the SHA-256 thumbprint of this JWK.JWK.computeThumbprint(String hashAlg) Computes the thumbprint of this JWK using the specified hash algorithm.static Base64URLECKey.encodeCoordinate(int fieldSize, BigInteger coordinate) Returns the Base64URL encoding of the specified elliptic curve 'x', 'y' or 'd' coordinate, with leading zero padding up to the specified field size in bits.ECKey.getD()Gets the private 'd' coordinate for the elliptic curve point.OctetKeyPair.getD()Gets the private 'd' parameter.RSAKey.OtherPrimesInfo.getFactorCRTCoefficient()The factor Chinese Remainder Theorem (CRT) coefficient (t).RSAKey.OtherPrimesInfo.getFactorCRTExponent()Gets factor Chinese Remainder Theorem (CRT) exponent (d).RSAKey.getFirstCRTCoefficient()Gets the first Chinese Remainder Theorem (CRT) coefficient (qi)} of the private RSA key.RSAKey.getFirstFactorCRTExponent()Gets the first factor Chinese Remainder Theorem (CRT) exponent (dp) of the private RSA key.RSAKey.getFirstPrimeFactor()Gets the first prime factor (p) of the private RSA key.OctetSequenceKey.getKeyValue()Returns the value of this octet sequence key.RSAKey.getModulus()Gets the modulus value (n) of the RSA key.RSAKey.OtherPrimesInfo.getPrimeFactor()Gets the prime factor (r).RSAKey.getPrivateExponent()Gets the private exponent (d) of the RSA key.RSAKey.getPublicExponent()Gets the public exponent (e) of the RSA key.RSAKey.getSecondFactorCRTExponent()Gets the second factor Chinese Remainder Theorem (CRT) exponent (dq) of the private RSA key.RSAKey.getSecondPrimeFactor()Gets the second prime factor (q) of the private RSA key.ThumbprintURI.getThumbprint()Returns the underlying thumbprint value.ECKey.getX()Gets the public 'x' coordinate for the elliptic curve point.OctetKeyPair.getX()Gets the public 'x' parameter.Gets the X.509 certificate SHA-256 thumbprint (x5t#S256) of this JWK.JWK.getX509CertThumbprint()Deprecated.ECKey.getY()Gets the public 'y' coordinate for the elliptic curve point.Methods in com.nimbusds.jose.jwk that return types with arguments of type Base64URLModifier and TypeMethodDescriptionJWKMatcher.getX509CertSHA256Thumbprints()Returns the X.509 certificate SHA-256 thumbprints to match.Methods in com.nimbusds.jose.jwk with parameters of type Base64URLModifier and TypeMethodDescriptionSets the private 'd' coordinate for the elliptic curve point.Sets the private 'd' parameter.RSAKey.Builder.firstCRTCoefficient(Base64URL qi) Sets the first Chinese Remainder Theorem (CRT) coefficient (qi) of the private RSA key.RSAKey.Builder.firstFactorCRTExponent(Base64URL dp) Sets the first factor Chinese Remainder Theorem (CRT) exponent (dp) of the private RSA key.RSAKey.Builder.firstPrimeFactor(Base64URL p) Sets the first prime factor (p) of the private RSA key.RSAKey.Builder.privateExponent(Base64URL d) Sets the private exponent (d) of the RSA key.RSAKey.Builder.secondFactorCRTExponent(Base64URL dq) Sets the second factor Chinese Remainder Theorem (CRT) exponent (dq) of the private RSA key.RSAKey.Builder.secondPrimeFactor(Base64URL q) Sets the second prime factor (q) of the private RSA key.ECKey.Builder.x509CertSHA256Thumbprint(Base64URL x5t256) Sets the X.509 certificate SHA-256 thumbprint (x5t#S256) of the JWK.JWKMatcher.Builder.x509CertSHA256Thumbprint(Base64URL x5tS256) Sets a single X.509 certificate SHA-256 thumbprint to match.OctetKeyPair.Builder.x509CertSHA256Thumbprint(Base64URL x5t256) Sets the X.509 certificate SHA-256 thumbprint (x5t#S256) of the JWK.OctetSequenceKey.Builder.x509CertSHA256Thumbprint(Base64URL x5t256) Sets the X.509 certificate SHA-256 thumbprint (x5t#S256) of the JWK.RSAKey.Builder.x509CertSHA256Thumbprint(Base64URL x5t256) Sets the X.509 certificate SHA-256 thumbprint (x5t#S256) of the JWK.JWKMatcher.Builder.x509CertSHA256Thumbprints(Base64URL... x5tS256s) Sets multiple X.509 certificate SHA-256 thumbprints to match.ECKey.Builder.x509CertThumbprint(Base64URL x5t) Deprecated.OctetKeyPair.Builder.x509CertThumbprint(Base64URL x5t) Deprecated.OctetSequenceKey.Builder.x509CertThumbprint(Base64URL x5t) Deprecated.RSAKey.Builder.x509CertThumbprint(Base64URL x5t) Deprecated.Method parameters in com.nimbusds.jose.jwk with type arguments of type Base64URLModifier and TypeMethodDescriptionJWKMatcher.Builder.x509CertSHA256Thumbprints(Set<Base64URL> x5tS256s) Sets multiple X.509 certificate SHA-256 thumbprints to match.Constructors in com.nimbusds.jose.jwk with parameters of type Base64URLModifierConstructorDescriptionCreates a new Elliptic Curve JWK builder.Creates a new Octet Key Pair JWK builder.Creates a new octet sequence JWK builder.Creates a new RSA JWK builder.ECKey(Curve crv, Base64URL x, Base64URL y, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.ECKey(Curve crv, Base64URL x, Base64URL y, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Creates a new public Elliptic Curve JSON Web Key (JWK) with the specified parameters.ECKey(Curve crv, Base64URL x, Base64URL y, Base64URL d, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.ECKey(Curve crv, Base64URL x, Base64URL y, Base64URL d, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Creates a new public / private Elliptic Curve JSON Web Key (JWK) with the specified parameters.ECKey(Curve crv, Base64URL x, Base64URL y, PrivateKey priv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.ECKey(Curve crv, Base64URL x, Base64URL y, PrivateKey priv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Creates a new public / private Elliptic Curve JSON Web Key (JWK) with the specified parameters.ECKey(Curve crv, ECPublicKey pub, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.ECKey(Curve crv, ECPublicKey pub, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Creates a new public Elliptic Curve JSON Web Key (JWK) with the specified parameters.ECKey(Curve crv, ECPublicKey pub, ECPrivateKey priv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.ECKey(Curve crv, ECPublicKey pub, ECPrivateKey priv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Creates a new public / private Elliptic Curve JSON Web Key (JWK) with the specified parameters.ECKey(Curve crv, ECPublicKey pub, PrivateKey priv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.ECKey(Curve crv, ECPublicKey pub, PrivateKey priv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Creates a new public / private Elliptic Curve JSON Web Key (JWK) with the specified parameters.protectedJWK(KeyType kty, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.protectedJWK(KeyType kty, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Creates a new JSON Web Key (JWK).OctetKeyPair(Curve crv, Base64URL x, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.OctetKeyPair(Curve crv, Base64URL x, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Creates a new public Octet Key Pair JSON Web Key (JWK) with the specified parameters.OctetKeyPair(Curve crv, Base64URL x, Base64URL d, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.OctetKeyPair(Curve crv, Base64URL x, Base64URL d, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Creates a new public / private Octet Key Pair JSON Web Key (JWK) with the specified parameters.OctetSequenceKey(Base64URL k, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.OctetSequenceKey(Base64URL k, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Creates a new octet sequence JSON Web Key (JWK) with the specified parameters.OtherPrimesInfo(Base64URL r, Base64URL d, Base64URL t) Creates a new JWK Other Primes Info with the specified parameters.RSAKey(Base64URL n, Base64URL e, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.RSAKey(Base64URL n, Base64URL e, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Creates a new public RSA JSON Web Key (JWK) with the specified parameters.RSAKey(Base64URL n, Base64URL e, Base64URL d, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.RSAKey(Base64URL n, Base64URL e, Base64URL d, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Creates a new public / private RSA JSON Web Key (JWK) with the specified parameters.RSAKey(Base64URL n, Base64URL e, Base64URL d, Base64URL p, Base64URL q, Base64URL dp, Base64URL dq, Base64URL qi, List<RSAKey.OtherPrimesInfo> oth, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c) Deprecated.RSAKey(Base64URL n, Base64URL e, Base64URL d, Base64URL p, Base64URL q, Base64URL dp, Base64URL dq, Base64URL qi, List<RSAKey.OtherPrimesInfo> oth, PrivateKey prv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.RSAKey(Base64URL n, Base64URL e, Base64URL d, Base64URL p, Base64URL q, Base64URL dp, Base64URL dq, Base64URL qi, List<RSAKey.OtherPrimesInfo> oth, PrivateKey prv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Creates a new public / private RSA JSON Web Key (JWK) with the specified parameters.RSAKey(Base64URL n, Base64URL e, Base64URL p, Base64URL q, Base64URL dp, Base64URL dq, Base64URL qi, List<RSAKey.OtherPrimesInfo> oth, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.RSAKey(Base64URL n, Base64URL e, Base64URL p, Base64URL q, Base64URL dp, Base64URL dq, Base64URL qi, List<RSAKey.OtherPrimesInfo> oth, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Creates a new public / private RSA JSON Web Key (JWK) with the specified parameters.RSAKey(RSAPublicKey pub, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.RSAKey(RSAPublicKey pub, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Creates a new public RSA JSON Web Key (JWK) with the specified parameters.RSAKey(RSAPublicKey pub, RSAMultiPrimePrivateCrtKey priv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.RSAKey(RSAPublicKey pub, RSAMultiPrimePrivateCrtKey priv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Creates a new public / private RSA JSON Web Key (JWK) with the specified parameters.RSAKey(RSAPublicKey pub, RSAPrivateCrtKey priv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.RSAKey(RSAPublicKey pub, RSAPrivateCrtKey priv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Creates a new public / private RSA JSON Web Key (JWK) with the specified parameters.RSAKey(RSAPublicKey pub, RSAPrivateKey priv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.RSAKey(RSAPublicKey pub, RSAPrivateKey priv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Creates a new public / private RSA JSON Web Key (JWK) with the specified parameters.RSAKey(RSAPublicKey pub, PrivateKey priv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks) Deprecated.RSAKey(RSAPublicKey pub, PrivateKey priv, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, Date exp, Date nbf, Date iat, KeyStore ks) Creates a new public / private RSA JSON Web Key (JWK) with the specified parameters.ThumbprintURI(String hashAlg, Base64URL thumbprint) Creates a new JWK thumbprint URI. -
Uses of Base64URL in com.nimbusds.jose.util
Methods in com.nimbusds.jose.util that return Base64URLModifier and TypeMethodDescriptionstatic Base64URLX509CertUtils.computeSHA256Thumbprint(X509Certificate cert) Computes the X.509 certificate SHA-256 thumbprint (x5t#S256).static Base64URLBase64URL.encode(byte[] bytes) Base64URL-encodes the specified byte array.static Base64URLBase64URL-encodes the specified string.static Base64URLBase64URL.encode(BigInteger bigInt) Base64URL-encodes the specified big integer, without the sign bit.static Base64URLCreates a new Base64URL-encoded object from the specified string.static Base64URLJSONObjectUtils.getBase64URL(Map<String, Object> o, String name) Gets a string member of a JSON object asBase64URL. -
Uses of Base64URL in com.nimbusds.jwt
Methods in com.nimbusds.jwt that return Base64URLModifier and TypeMethodDescriptionJWT.getParsedParts()Gets the original parsed Base64URL parts used to create the JSON Web Token (JWT).Constructors in com.nimbusds.jwt with parameters of type Base64URLModifierConstructorDescriptionEncryptedJWT(Base64URL firstPart, Base64URL secondPart, Base64URL thirdPart, Base64URL fourthPart, Base64URL fifthPart) Creates a new encrypted JSON Web Token (JWT) with the specified serialised parts.Creates a new unsecured (plain) JSON Web Token (JWT) with the specified Base64URL-encoded parts.Creates a new signed JSON Web Token (JWT) with the specified serialised parts.