Uses of Enum Class
edu.iu.crypt.WebKey.Algorithm
Packages that use WebKey.Algorithm
Package
Description
Web cryptography public interfaces.
-
Uses of WebKey.Algorithm in edu.iu.auth.config
Methods in edu.iu.auth.config that return WebKey.AlgorithmModifier and TypeMethodDescriptionIuPrivateKeyPrincipal.getAlg()
Gets the algorithm to use for creating new digital signatures or as the key protection algorithm when creating an encrypted messages.IuPrivateKeyPrincipal.getEncryptAlg()
Gets the key protection algorithm to use for creating encrypted messages.Methods in edu.iu.auth.config that return types with arguments of type WebKey.AlgorithmModifier and TypeMethodDescriptionIuOpenIdProviderMetadata.getIdTokenEncryptionAlgValuesSupported()
JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT].IuOpenIdProviderMetadata.getIdTokenSigningAlgValuesSupported()
JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT].IuOpenIdProviderMetadata.getRequestObjectEncryptionAlgValuesSupported()
JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects.IuOpenIdProviderMetadata.getRequestObjectSigningAlgValuesSupported()
JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core].IuOpenIdProviderMetadata.getTokenEndpointSigningAlgValuesSupported()
JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods.IuOpenIdProviderMetadata.getUserinfoEncryptionAlgValuesSupported()
JSON array containing a list of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT].IuOpenIdProviderMetadata.getUserinfoSigningAlgValuesSupported()
JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. -
Uses of WebKey.Algorithm in edu.iu.crypt
Methods in edu.iu.crypt that return WebKey.AlgorithmModifier and TypeMethodDescriptionstatic WebKey.Algorithm
Gets the value equivalent to the JWK alg attribute.WebCryptoHeader.getAlgorithm()
Gets the cryptographic algorithm.default WebKey.Algorithm
WebKeyReference.getAlgorithm()
Gets the key encryption or signature algorithm.static WebKey.Algorithm
Returns the enum constant of this class with the specified name.static WebKey.Algorithm[]
WebKey.Algorithm.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in edu.iu.crypt with parameters of type WebKey.AlgorithmModifier and TypeMethodDescriptionWebEncryption.Builder.addRecipient
(WebKey.Algorithm algorithm) Adds a new recipient.WebKeyReference.Builder.algorithm
(WebKey.Algorithm algorithm) Sets the algorithm.static WebKey.Builder
<?> WebKey.builder
(WebKey.Algorithm algorithm) Creates an ephemeral key for use as JWE recipient or JWS issuer.static WebSignature.Builder
<?> WebSignature.builder
(WebKey.Algorithm algorithm) Creates a newWebSignature.Builder
.WebKey.Builder.ephemeral
(WebKey.Algorithm algorithm) Generates a public/private key pair or secret key without settingWebKeyReference.Builder.algorithm(edu.iu.crypt.WebKey.Algorithm)
.static WebKey
WebKey.ephemeral
(WebKey.Algorithm algorithm) Creates an ephemeral key for use as JWE recipient or JWS issuer.WebSignature.Builder.next
(WebKey.Algorithm algorithm) Enqueues the current signature and resets the builder for the next entry.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 WebEncryptionRecipient.Builder
<?> WebEncryption.to
(WebEncryption.Encryption encryption, WebKey.Algorithm algorithm) Starts a new encrypted message for a single recipient withcompact semantics
and compression enabled. -
Uses of WebKey.Algorithm in iu.auth.session
Methods in iu.auth.session with parameters of type WebKey.AlgorithmModifier and TypeMethodDescription(package private) String
Session.tokenize
(byte[] secretKey, WebKey issuerKey, WebKey.Algorithm algorithm) Token constructorConstructors in iu.auth.session with parameters of type WebKey.AlgorithmModifierConstructorDescriptionSessionHandler
(URI resourceUri, IuSessionConfiguration configuration, Supplier<WebKey> issuerKey, WebKey.Algorithm algorithm) Constructor. -
Uses of WebKey.Algorithm in iu.crypt
Fields in iu.crypt with type parameters of type WebKey.AlgorithmModifier and TypeFieldDescriptionstatic final IuJsonAdapter
<WebKey.Algorithm> CryptJsonAdapters.ALG
JSON type adapter forWebKey.Algorithm
.Methods in iu.crypt that return WebKey.AlgorithmModifier and TypeMethodDescription(package private) WebKey.Algorithm
JweRecipientBuilder.EncryptedKeyBuilder.algorithm()
Gets the algorithmJsonKeyReference.getAlgorithm()
Methods in iu.crypt with parameters of type WebKey.AlgorithmModifier and TypeMethodDescriptionJweBuilder.addRecipient
(WebKey.Algorithm algorithm) KeyReferenceBuilder.algorithm
(WebKey.Algorithm algorithm) JwkBuilder.ephemeral
(WebKey.Algorithm algorithm) (package private) static byte[]
Jws.fromJce
(WebKey.Type type, WebKey.Algorithm algorithm, byte[] jceSignature) Converts a signature from JCE format to JWACryptSpi.getJwsBuilder
(WebKey.Algorithm algorithm) JwsBuilder.next
(WebKey.Algorithm algorithm) Jwt.sign
(String type, WebKey.Algorithm algorithm, WebKey issuerKey) Signs thisJwt
Jwt.signAndEncrypt
(String type, WebKey.Algorithm signAlgorithm, WebKey issuerKey, WebKey.Algorithm encryptAlgorithm, WebEncryption.Encryption encryption, WebKey audienceKey) Signs and encrypts thisJwt
(package private) static byte[]
Jws.toJce
(WebKey.Type type, WebKey.Algorithm algorithm, byte[] jwaSignature) Converts a signature from JWA format to JCEConstructors in iu.crypt with parameters of type WebKey.AlgorithmModifierConstructorDescriptionprotected
JoseBuilder
(WebKey.Algorithm algorithm) Constructor.(package private)
JweRecipientBuilder
(JweBuilder jweBuilder, WebKey.Algorithm algorithm) ConstructorJwsBuilder
(WebKey.Algorithm algorithm) Constructor. -
Uses of WebKey.Algorithm in iu.crypt.spi
Methods in iu.crypt.spi with parameters of type WebKey.AlgorithmModifier and TypeMethodDescriptionIuCryptSpi.getJwsBuilder
(WebKey.Algorithm algorithm) ImplementsWebSignature.builder(Algorithm)