Uses of Interface
edu.iu.crypt.WebKey
Packages that use WebKey
Package
Description
Web cryptography public interfaces.
-
Uses of WebKey in edu.iu.auth.config
Methods in edu.iu.auth.config that return WebKey -
Uses of WebKey in edu.iu.crypt
Methods in edu.iu.crypt that return WebKeyModifier and TypeMethodDescriptionWebKey.Builder.build()Builds the web key.static WebKeyWebKey.ephemeral(WebEncryption.Encryption encryption) Creates an ephemeral content encryption key, for use withWebKey.Algorithm.DIRECT.static WebKeyWebKey.ephemeral(WebKey.Algorithm algorithm) Creates an ephemeral key for use as JWE recipient or JWS issuer.WebCryptoHeader.getKey()Gets the well-known key data.static WebKeyParses a JSON Web Key (JWK).static WebKeyReads at least one PEM-encoded X509 certificate, and optionally a private key, and returns a JWK partial-key representation.static WebKeyWebCryptoHeader.verify(WebCryptoHeader header) Verifies all parameters in aWebCryptoHeader.WebKey.wellKnown()Returns a copy of this key for whichgetPrivateKey()andgetKey()always return null, and for which the source data backing these methods is not populated.Methods in edu.iu.crypt that return types with arguments of type WebKeyModifier and TypeMethodDescriptionParses a JSON Web Key Set (JWKS).WebKey.readJwks(InputStream jwks) Reads a JSON Web Key Set (JWKS).Reads a JSON Web Key Set (JWKS).Methods in edu.iu.crypt with parameters of type WebKeyModifier and TypeMethodDescriptiondefault byte[]Decrypts the encrypted content.voidWebEncryption.decrypt(WebKey key, OutputStream out) Decrypts the encrypted content.static WebTokenWebToken.decryptAndVerify(String jwt, WebKey issuerKey, WebKey audienceKey) Decrypts and verifies a signed JSON Web Token (JWT).default StringWebEncryption.decryptText(WebKey key) Decrypts UTF-8 encoded encrypted content.The key to use for encrypting or signing.WebToken.sign(String type, WebKey.Algorithm algorithm, WebKey issuerKey) Encodes all claims as a signed JSON Web TokenWebToken.signAndEncrypt(String type, WebKey.Algorithm signAlgorithm, WebKey issuerKey, WebKey.Algorithm encryptAlgorithm, WebEncryption.Encryption encryption, WebKey audienceKey) Encodes all claims as a signed and encrypted JSON Web Token.static PublicKeyVerifies encoded key data is correct for the key type, use, algorithm, and X.509 certificate chain.voidVerifies the signature as valid.default voidVerifies at least one signature using a public or shared key.static WebTokenVerifies a signed JSON Web Token (JWT).Sets the key to include with the header.Method parameters in edu.iu.crypt with type arguments of type WebKey -
Uses of WebKey in iu.auth.session
Methods in iu.auth.session with parameters of type WebKeyModifier and TypeMethodDescription(package private) StringSession.tokenize(byte[] secretKey, WebKey issuerKey, WebKey.Algorithm algorithm) Token constructorConstructors in iu.auth.session with parameters of type WebKeyModifierConstructorDescription(package private)Session token constructor.Constructor parameters in iu.auth.session with type arguments of type WebKeyModifierConstructorDescriptionSessionHandler(URI resourceUri, IuSessionConfiguration configuration, Supplier<WebKey> issuerKey, WebKey.Algorithm algorithm, IuDataStore dataStore) Constructor. -
Uses of WebKey in iu.crypt
Modifier and TypeFieldDescriptionstatic final IuJsonAdapter<WebKey> CryptJsonAdapters.WEBKEYJSON type adapter forWebKey.Modifier and TypeMethodDescription(package private) byte[]JweRecipient.agreedUponKey(WebEncryption.Encryption encryption, WebKey recipientPrivateKey) Computes the agreed-upon key for the Elliptic Curve Diffie-Hellman algorithm.voidJwe.decrypt(WebKey key, OutputStream out) static JsonObjectJwt.decryptAndVerify(String jwt, WebKey issuerKey, WebKey audienceKey) Parses, decrypts, and verifies a JWT encoded withJWS compact serialization.CryptSpi.decryptAndVerifyJwt(String jwt, WebKey issuerKey, WebKey audienceKey) Jwt.sign(String type, WebKey.Algorithm algorithm, WebKey issuerKey) Signs thisJwtJwt.signAndEncrypt(String type, WebKey.Algorithm signAlgorithm, WebKey issuerKey, WebKey.Algorithm encryptAlgorithm, WebEncryption.Encryption encryption, WebKey audienceKey) Signs and encrypts thisJwtvoidstatic JsonObjectParses and verifies a JWT encoded withJWS compact serialization.Modifier and TypeMethodDescriptionstatic JsonObjectSerializesWebKeys as a JSON Web Key Set.voidCryptSpi.writeJwks(Iterable<? extends WebKey> webKeys, OutputStream out) static voidJwk.writeJwks(Iterable<? extends WebKey> webKeys, OutputStream out) WritesWebKeyas a JSON Web Key. -
Uses of WebKey in iu.crypt.spi
Methods in iu.crypt.spi that return WebKeyMethods in iu.crypt.spi that return types with arguments of type WebKeyModifier and TypeMethodDescriptionImplementsparseJwks(String)IuCryptSpi.readJwks(InputStream jwks) ImplementsreadJwks(InputStream)ImplementsreadJwks(URI)Methods in iu.crypt.spi with parameters of type WebKeyModifier and TypeMethodDescriptionIuCryptSpi.decryptAndVerifyJwt(String jwt, WebKey issuerKey, WebKey audienceKey) ImplementsWebToken.verify(String, WebKey)Method parameters in iu.crypt.spi with type arguments of type WebKeyModifier and TypeMethodDescriptionImplementsasJwks(Iterable)voidIuCryptSpi.writeJwks(Iterable<? extends WebKey> webKeys, OutputStream out) ImplementswriteJwks(Iterable, OutputStream)