Uses of Class
com.nimbusds.jose.util.Base64URL
-
Packages that use Base64URL Package Description com.nimbusds.jose Base Javascript Object Signing and Encryption (JOSE) interfaces and classes.com.nimbusds.jose.crypto Implementations of standard Javascript Object Signing and Encryption (JOSE) algorithms.com.nimbusds.jose.crypto.impl Cryptographic primitives for JWS signers, JWS verifiers, JWE encrypters and JWE decrypters in thecom.nimbusds.jose.cryptopackage.com.nimbusds.jose.jwk JSON Web Key (JWK) classes.com.nimbusds.jose.util Utility interfaces and classes.com.nimbusds.jwt JSON Web Token (JWT) interfaces and classes. -
-
Uses of Base64URL in com.nimbusds.jose
Methods in com.nimbusds.jose that return Base64URL Modifier and Type Method Description Base64URLCompletableJWSObjectSigning. complete()Completes the JWS object signing.Base64URLJWEHeader. getAgreementPartyUInfo()Gets the agreement PartyUInfo (apu) parameter.Base64URLJWEHeader. getAgreementPartyVInfo()Gets the agreement PartyVInfo (apv) parameter.Base64URLJWECryptoParts. getAuthenticationTag()Gets the authentication tag.Base64URLJWEHeader. getAuthTag()Gets the authentication tag (tag) parameter.Base64URLJWEObject. getAuthTag()Returns the authentication tag of this JWE object.Base64URLJWEObjectJSON. getAuthTag()Returns the authentication tag of this JWE object.Base64URLJWECryptoParts. getCipherText()Gets the cipher text.Base64URLJWEObject. getCipherText()Returns the cipher text of this JWE object.Base64URLJWEObjectJSON. getCipherText()Returns the cipher text of this JWE object.Base64URLJWECryptoParts. getEncryptedKey()Gets the encrypted key.Base64URLJWEObject. getEncryptedKey()Returns the encrypted key of this JWE object.Base64URLJWEObjectJSON. getEncryptedKey()Returns the encrypted key of this JWE object.Base64URLJWEObjectJSON.Recipient. getEncryptedKey()Returns the encrypted key.Base64URLJWECryptoParts. getInitializationVector()Gets the initialisation vector (IV).Base64URLJWEHeader. getIV()Gets the initialisation vector (iv) parameter.Base64URLJWEObject. getIV()Returns the initialisation vector (IV) of this JWE object.Base64URLJWEObjectJSON. getIV()Returns the initialisation vector (IV) of this JWE object.Base64URLHeader. getParsedBase64URL()Gets the original Base64URL used to create this header.Base64URL[]JOSEObject. getParsedParts()Returns the original parsed Base64URL parts used to create this JOSE object.Base64URLJWEHeader. getPBES2Salt()Gets the PBES2 salt (p2s) parameter.Base64URLJWSObject. getSignature()Returns the signature of this JWS object.Base64URLJWSObjectJSON.Signature. getSignature()Returns the signature.Base64URLJWSSigner. sign(JWSHeader header, byte[] signingInput)Signs the specifiedinputof aJWS object.static Base64URL[]JOSEObject. split(String s)Splits a compact serialised JOSE object into its Base64URL-encoded parts.Base64URLHeader. toBase64URL()Returns a Base64URL representation of the header.Base64URLPayload. 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 Base64URL Modifier and Type Method Description JWEHeader.BuilderJWEHeader.Builder. agreementPartyUInfo(Base64URL apu)Sets the agreement PartyUInfo (apu) parameter.JWEHeader.BuilderJWEHeader.Builder. agreementPartyVInfo(Base64URL apv)Sets the agreement PartyVInfo (apv) parameter.JWEHeader.BuilderJWEHeader.Builder. authTag(Base64URL tag)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.JWEHeader.BuilderJWEHeader.Builder. iv(Base64URL iv)Sets the initialisation vector (iv) parameter.static HeaderHeader. parse(Base64URL base64URL)static HeaderHeader. parse(String jsonString, Base64URL parsedBase64URL)static HeaderHeader. parse(Map<String,Object> jsonObject, Base64URL parsedBase64URL)static JWEHeaderJWEHeader. parse(Base64URL base64URL)Parses a JWE header from the specified Base64URL.static JWEHeaderJWEHeader. parse(String jsonString, Base64URL parsedBase64URL)Parses a JWE header from the specified JSON object string.static JWEHeaderJWEHeader. parse(Map<String,Object> jsonObject, Base64URL parsedBase64URL)Parses a JWE header from the specified JSON object.static JWSHeaderJWSHeader. parse(Base64URL base64URL)Parses a JWS header from the specified Base64URL.static JWSHeaderJWSHeader. parse(String jsonString, Base64URL parsedBase64URL)Parses a JWS header from the specified JSON object string.static JWSHeaderJWSHeader. parse(Map<String,Object> jsonObject, Base64URL parsedBase64URL)Parses a JWS header from the specified JSON object.static PlainHeaderPlainHeader. parse(Base64URL base64URL)Parses an unsecured header from the specified Base64URL.static PlainHeaderPlainHeader. parse(String jsonString, Base64URL parsedBase64URL)Parses an unsecured header from the specified JSON string.static PlainHeaderPlainHeader. parse(Map<String,Object> jsonObject, Base64URL parsedBase64URL)Parses an unsecured header from the specified JSON object.JWEHeader.BuilderJWEHeader.Builder. parsedBase64URL(Base64URL base64URL)Sets the parsed Base64URL.JWSHeader.BuilderJWSHeader.Builder. parsedBase64URL(Base64URL base64URL)Sets the parsed Base64URL.PlainHeader.BuilderPlainHeader.Builder. parsedBase64URL(Base64URL base64URL)Sets the parsed Base64URL.JWEHeader.BuilderJWEHeader.Builder. pbes2Salt(Base64URL p2s)Sets the PBES2 salt (p2s) parameter.protected voidJOSEObject. setParsedParts(Base64URL... parts)Sets the original parsed Base64URL parts used to create this JOSE object.booleanJWSVerifier. verify(JWSHeader header, byte[] signingInput, Base64URL signature)Verifies the specifiedsignatureof aJWS object.JWEHeader.BuilderJWEHeader.Builder. x509CertSHA256Thumbprint(Base64URL x5t256)Sets the X.509 certificate SHA-256 thumbprint (x5t#s256) parameter.JWSHeader.BuilderJWSHeader.Builder. x509CertSHA256Thumbprint(Base64URL x5t256)Sets the X.509 certificate SHA-256 thumbprint (x5t#S256) parameter.JWEHeader.BuilderJWEHeader.Builder. x509CertThumbprint(Base64URL x5t)Deprecated.JWSHeader.BuilderJWSHeader.Builder. x509CertThumbprint(Base64URL x5t)Deprecated.Constructors in com.nimbusds.jose with parameters of type Base64URL Constructor Description Header(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.JWSObject(Base64URL firstPart, Payload payload, Base64URL thirdPart)Creates a new signed JSON Web Signature (JWS) object with the specified serialised parts and payload which can be optionally unencoded (RFC 7797).JWSObject(Base64URL firstPart, Base64URL secondPart, Base64URL thirdPart)Creates a new signed JSON Web Signature (JWS) object with the specified serialised parts.Payload(Base64URL base64URL)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 Base64URL Modifier and Type Method Description Base64URLECDSASigner. sign(JWSHeader header, byte[] signingInput)Base64URLEd25519Signer. sign(JWSHeader header, byte[] signingInput)Base64URLMACSigner. sign(JWSHeader header, byte[] signingInput)Base64URLRSASSASigner. sign(JWSHeader header, byte[] signingInput)Methods in com.nimbusds.jose.crypto with parameters of type Base64URL Modifier and Type Method Description byte[]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)booleanECDSAVerifier. verify(JWSHeader header, byte[] signedContent, Base64URL signature)booleanEd25519Verifier. verify(JWSHeader header, byte[] signedContent, Base64URL signature)booleanMACVerifier. verify(JWSHeader header, byte[] signedContent, Base64URL signature)booleanRSASSAVerifier. verify(JWSHeader header, byte[] signedContent, Base64URL signature) -
Uses of Base64URL in com.nimbusds.jose.crypto.impl
Methods in com.nimbusds.jose.crypto.impl with parameters of type Base64URL Modifier and Type Method Description static byte[]AAD. compute(Base64URL encodedJWEHeader)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 Base64URL Modifier and Type Method Description static Base64URLThumbprintUtils. compute(JWK jwk)Computes the SHA-256 thumbprint for the specified JWK.static Base64URLThumbprintUtils. compute(String hashAlg, JWK jwk)Computes the thumbprint for the specified JWK.static Base64URLThumbprintUtils. compute(String hashAlg, LinkedHashMap<String,?> params)Computes the thumbprint for the specified required JWK parameters.Base64URLJWK. computeThumbprint()Computes the SHA-256 thumbprint of this JWK.Base64URLJWK. 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.Base64URLECKey. getD()Gets the private 'd' coordinate for the elliptic curve point.Base64URLOctetKeyPair. getD()Gets the private 'd' parameter.Base64URLRSAKey.OtherPrimesInfo. getFactorCRTCoefficient()The factor Chinese Remainder Theorem (CRT) coefficient (t).Base64URLRSAKey.OtherPrimesInfo. getFactorCRTExponent()Gets factor Chinese Remainder Theorem (CRT) exponent (d).Base64URLRSAKey. getFirstCRTCoefficient()Gets the first Chinese Remainder Theorem (CRT) coefficient (qi)} of the private RSA key.Base64URLRSAKey. getFirstFactorCRTExponent()Gets the first factor Chinese Remainder Theorem (CRT) exponent (dp) of the private RSA key.Base64URLRSAKey. getFirstPrimeFactor()Gets the first prime factor (p) of the private RSA key.Base64URLOctetSequenceKey. getKeyValue()Returns the value of this octet sequence key.Base64URLRSAKey. getModulus()Gets the modulus value (n) of the RSA key.Base64URLRSAKey.OtherPrimesInfo. getPrimeFactor()Gets the prime factor (r).Base64URLRSAKey. getPrivateExponent()Gets the private exponent (d) of the RSA key.Base64URLRSAKey. getPublicExponent()Gets the public exponent (e) of the RSA key.Base64URLRSAKey. getSecondFactorCRTExponent()Gets the second factor Chinese Remainder Theorem (CRT) exponent (dq) of the private RSA key.Base64URLRSAKey. getSecondPrimeFactor()Gets the second prime factor (q) of the private RSA key.Base64URLThumbprintURI. getThumbprint()Returns the underlying thumbprint value.Base64URLECKey. getX()Gets the public 'x' coordinate for the elliptic curve point.Base64URLOctetKeyPair. getX()Gets the public 'x' parameter.Base64URLJWK. getX509CertSHA256Thumbprint()Gets the X.509 certificate SHA-256 thumbprint (x5t#S256) of this JWK.Base64URLJWK. getX509CertThumbprint()Deprecated.Base64URLECKey. getY()Gets the public 'y' coordinate for the elliptic curve point.Methods in com.nimbusds.jose.jwk that return types with arguments of type Base64URL Modifier and Type Method Description Set<Base64URL>JWKMatcher. getX509CertSHA256Thumbprints()Returns the X.509 certificate SHA-256 thumbprints to match.Methods in com.nimbusds.jose.jwk with parameters of type Base64URL Modifier and Type Method Description ECKey.BuilderECKey.Builder. d(Base64URL d)Sets the private 'd' coordinate for the elliptic curve point.OctetKeyPair.BuilderOctetKeyPair.Builder. d(Base64URL d)Sets the private 'd' parameter.RSAKey.BuilderRSAKey.Builder. firstCRTCoefficient(Base64URL qi)Sets the first Chinese Remainder Theorem (CRT) coefficient (qi) of the private RSA key.RSAKey.BuilderRSAKey.Builder. firstFactorCRTExponent(Base64URL dp)Sets the first factor Chinese Remainder Theorem (CRT) exponent (dp) of the private RSA key.RSAKey.BuilderRSAKey.Builder. firstPrimeFactor(Base64URL p)Sets the first prime factor (p) of the private RSA key.RSAKey.BuilderRSAKey.Builder. privateExponent(Base64URL d)Sets the private exponent (d) of the RSA key.RSAKey.BuilderRSAKey.Builder. secondFactorCRTExponent(Base64URL dq)Sets the second factor Chinese Remainder Theorem (CRT) exponent (dq) of the private RSA key.RSAKey.BuilderRSAKey.Builder. secondPrimeFactor(Base64URL q)Sets the second prime factor (q) of the private RSA key.ECKey.BuilderECKey.Builder. x509CertSHA256Thumbprint(Base64URL x5t256)Sets the X.509 certificate SHA-256 thumbprint (x5t#S256) of the JWK.JWKMatcher.BuilderJWKMatcher.Builder. x509CertSHA256Thumbprint(Base64URL x5tS256)Sets a single X.509 certificate SHA-256 thumbprint to match.OctetKeyPair.BuilderOctetKeyPair.Builder. x509CertSHA256Thumbprint(Base64URL x5t256)Sets the X.509 certificate SHA-256 thumbprint (x5t#S256) of the JWK.OctetSequenceKey.BuilderOctetSequenceKey.Builder. x509CertSHA256Thumbprint(Base64URL x5t256)Sets the X.509 certificate SHA-256 thumbprint (x5t#S256) of the JWK.RSAKey.BuilderRSAKey.Builder. x509CertSHA256Thumbprint(Base64URL x5t256)Sets the X.509 certificate SHA-256 thumbprint (x5t#S256) of the JWK.JWKMatcher.BuilderJWKMatcher.Builder. x509CertSHA256Thumbprints(Base64URL... x5tS256s)Sets multiple X.509 certificate SHA-256 thumbprints to match.ECKey.BuilderECKey.Builder. x509CertThumbprint(Base64URL x5t)Deprecated.OctetKeyPair.BuilderOctetKeyPair.Builder. x509CertThumbprint(Base64URL x5t)Deprecated.OctetSequenceKey.BuilderOctetSequenceKey.Builder. x509CertThumbprint(Base64URL x5t)Deprecated.RSAKey.BuilderRSAKey.Builder. x509CertThumbprint(Base64URL x5t)Deprecated.Method parameters in com.nimbusds.jose.jwk with type arguments of type Base64URL Modifier and Type Method Description JWKMatcher.BuilderJWKMatcher.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 Base64URL Constructor Description Builder(Curve crv, Base64URL x, Base64URL y)Creates a new Elliptic Curve JWK builder.Builder(Curve crv, Base64URL x)Creates a new Octet Key Pair JWK builder.Builder(Base64URL k)Creates a new octet sequence JWK builder.Builder(Base64URL n, Base64URL e)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.JWK(KeyType kty, KeyUse use, Set<KeyOperation> ops, Algorithm alg, String kid, URI x5u, Base64URL x5t, Base64URL x5t256, List<Base64> x5c, KeyStore ks)Deprecated.JWK(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 Base64URL Modifier and Type Method Description static 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. encode(String text)Base64URL-encodes the specified string.static Base64URLBase64URL. encode(BigInteger bigInt)Base64URL-encodes the specified big integer, without the sign bit.static Base64URLBase64URL. from(String base64URL)Creates a new Base64URL-encoded object from the specified string.static Base64URLJSONObjectUtils. getBase64URL(Map<String,Object> o, String key)Gets a string member of a JSON object asBase64URL. -
Uses of Base64URL in com.nimbusds.jwt
Methods in com.nimbusds.jwt that return Base64URL Modifier and Type Method Description Base64URL[]JWT. getParsedParts()Gets the original parsed Base64URL parts used to create the JSON Web Token (JWT).Constructors in com.nimbusds.jwt with parameters of type Base64URL Constructor Description EncryptedJWT(Base64URL firstPart, Base64URL secondPart, Base64URL thirdPart, Base64URL fourthPart, Base64URL fifthPart)Creates a new encrypted JSON Web Token (JWT) with the specified serialised parts.PlainJWT(Base64URL firstPart, Base64URL secondPart)Creates a new unsecured (plain) JSON Web Token (JWT) with the specified Base64URL-encoded parts.SignedJWT(Base64URL firstPart, Base64URL secondPart, Base64URL thirdPart)Creates a new signed JSON Web Token (JWT) with the specified serialised parts.
-