Index
All Classes and Interfaces|All Packages
A
- algorithm() - Method in class de.christofreichardt.json.websignature.HmacSHA256
- algorithm() - Method in interface de.christofreichardt.json.websignature.JWSAlgorithm
-
Returns the name of the underlying algorithm object.
- algorithm() - Method in class de.christofreichardt.json.websignature.SHA256withECDSA
- algorithm() - Method in class de.christofreichardt.json.websignature.SHA256withRSA
- AlgorithmBuilder(String) - Constructor for class de.christofreichardt.json.websignature.JOSEHeader.AlgorithmBuilder
- alignBytes(byte[], int) - Static method in class de.christofreichardt.json.webkey.JsonWebKeyUtils
-
Takes the given raw bytes and tries to return an equivalent byte array with the favored length by skipping surplus zeroes or filling in missing zeroes.
B
- BeforeHeader - Interface in de.christofreichardt.json.websignature.interfaces
-
The first stopover within the workflow of the Fluent API regarding the generation of signatures.
- BeforeKey - Interface in de.christofreichardt.json.websignature.interfaces
-
The first stopover within the workflow of the Fluent API regarding the validation of signatures.
- BeforeKid - Interface in de.christofreichardt.json.websignature.interfaces
-
A stopover within the the workflow of the Fluent API regarding the generation of signatures.
- BeforePayload - Interface in de.christofreichardt.json.websignature.interfaces
-
A stopover within the the workflow of the Fluent API regarding the generation of signatures.
- build() - Method in class de.christofreichardt.json.webkey.JsonWebKeyPair.Builder
- build() - Method in class de.christofreichardt.json.webkey.JsonWebKeyPair.KeyPairBuilder
- build() - Method in class de.christofreichardt.json.webkey.JsonWebKeyPair.ParameterSpecBuilder
- build() - Method in class de.christofreichardt.json.webkey.JsonWebPublicKey.Builder
- build() - Method in class de.christofreichardt.json.webkey.JsonWebSecretKey.Builder
- build() - Method in class de.christofreichardt.json.webkey.JsonWebSecretKey.SecretKeyBuilder
- build() - Method in class de.christofreichardt.json.websignature.JOSEHeader.AlgorithmBuilder
- build() - Method in class de.christofreichardt.json.websignature.JOSEHeader.PublicKeyBuilder
- Builder() - Constructor for class de.christofreichardt.json.webkey.JsonWebKey.Builder
- Builder() - Constructor for class de.christofreichardt.json.webkey.JsonWebKeyPair.Builder
- Builder() - Constructor for class de.christofreichardt.json.webkey.JsonWebSecretKey.Builder
- Builder(PublicKey) - Constructor for class de.christofreichardt.json.webkey.JsonWebPublicKey.Builder
C
- compactSerialization(JWSCompactSerialization) - Method in interface de.christofreichardt.json.websignature.interfaces.ValidationBegin
-
Notes the given
JWSCompactSerialization. - compactSerialization(JWSCompactSerialization) - Method in class de.christofreichardt.json.websignature.JWS.Validator
- convert(JsonStructure) - Method in interface de.christofreichardt.json.websignature.Json2StringConverter
-
Converts predictably the given
JsonStructureinto a string. - convert(JsonStructure) - Method in class de.christofreichardt.json.websignature.PrettyStringConverter
- createSignature() - Static method in class de.christofreichardt.json.websignature.JWS
-
Entry point for creating signatures.
- createValidator() - Static method in class de.christofreichardt.json.websignature.JWS
-
Entry point for validating signatures.
D
- de.christofreichardt.json - package de.christofreichardt.json
- de.christofreichardt.json.webkey - package de.christofreichardt.json.webkey
-
Provides the JSON Web Key (JWK) classes for convenience.
- de.christofreichardt.json.websignature - package de.christofreichardt.json.websignature
-
Provides the classes and interfaces for the JSON Web Signature (JWS) part of the framework.
- de.christofreichardt.json.websignature.interfaces - package de.christofreichardt.json.websignature.interfaces
-
Provides interfaces concerning the Fluent API.
E
- encodedHeader() - Method in record class de.christofreichardt.json.websignature.JWSCompactSerialization
-
Returns the value of the
encodedHeaderrecord component. - encodedPayload() - Method in record class de.christofreichardt.json.websignature.JWSCompactSerialization
-
Returns the value of the
encodedPayloadrecord component. - encodedSignature() - Method in record class de.christofreichardt.json.websignature.JWSCompactSerialization
-
Returns the value of the
encodedSignaturerecord component. - equals(Object) - Method in class de.christofreichardt.json.webkey.JsonWebKeyPair
-
Compares this
JsonWebKeyPairwith anotherJsonWebKeyPair. - equals(Object) - Method in class de.christofreichardt.json.webkey.JsonWebPublicKey
-
Compares this
JsonWebPublicKeywith anotherJsonWebPublicKey. - equals(Object) - Method in class de.christofreichardt.json.webkey.JsonWebSecretKey
-
Compares this
JsonWebSecretKeywith anotherJsonWebSecretKey. - equals(Object) - Method in class de.christofreichardt.json.websignature.JOSEHeader
-
Checks if this JOSE header is equal to another header.
- equals(Object) - Method in record class de.christofreichardt.json.websignature.JWSCompactSerialization
-
Indicates whether some other object is "equal to" this one.
F
- fillMissingZeroes(byte[], int) - Static method in class de.christofreichardt.json.webkey.JsonWebKeyUtils
-
Fills in missing zeroes at the begin of a byte array if required.
- formatBytes(byte[]) - Static method in class de.christofreichardt.json.webkey.JsonWebKeyUtils
-
Interpretes the given bytes as unsigned integers and concatenates them into a comma separated string.
- fromJson(JsonObject) - Static method in class de.christofreichardt.json.webkey.JsonWebKeyPair
-
Factory method to create a
JsonWebKeyPairinstance from a plainJsonObject. - fromJson(JsonObject) - Static method in class de.christofreichardt.json.webkey.JsonWebPublicKey
-
Factory method to create a
JsonWebPublicKeyinstance from a plainJsonObject. - fromJson(JsonObject) - Static method in class de.christofreichardt.json.webkey.JsonWebSecretKey
-
Factory method to create a
JsonWebSecretKeyinstance from a plainJsonObject. - fromJson(JsonObject) - Static method in class de.christofreichardt.json.websignature.JOSEHeader
-
Factory method to create a
JOSEHeaderinstance from a plainJsonObject. - fromJson(JsonObject, Class<T>) - Static method in class de.christofreichardt.json.webkey.JsonWebKey
-
Generic method to create a
JsonWebKeyfrom a JSON representation.
G
- getAlg() - Method in class de.christofreichardt.json.websignature.JOSEHeader
-
Returns the configured "alg" (Algorithm).
- getAlgorithm() - Method in class de.christofreichardt.json.webkey.JsonWebSecretKey
-
Return the algorithm to be used with the wrapped
SecretKey, e.g. - getAlgorithmParameterSpec() - Method in class de.christofreichardt.json.webkey.JsonWebKeyPair
-
Returns the applied
AlgorithmParameterSpec, may be null. - getAlgorithmParameterSpec() - Method in class de.christofreichardt.json.webkey.JsonWebPublicKey
-
Returns the applied
AlgorithmParameterSpec, may be null. - getCurrentTracer() - Method in class de.christofreichardt.json.webkey.JsonWebKey
- getCurrentTracer() - Method in class de.christofreichardt.json.websignature.HmacSHA256
- getCurrentTracer() - Method in class de.christofreichardt.json.websignature.JOSEHeader
- getCurrentTracer() - Method in class de.christofreichardt.json.websignature.JOSEHeader.PublicKeyBuilder
- getCurrentTracer() - Method in class de.christofreichardt.json.websignature.JWSSigner
- getCurrentTracer() - Method in class de.christofreichardt.json.websignature.JWSValidator
- getCurrentTracer() - Method in class de.christofreichardt.json.websignature.SHA256withECDSA
- getCurrentTracer() - Method in class de.christofreichardt.json.websignature.SHA256withRSA
- getJoseHeader() - Method in class de.christofreichardt.json.websignature.JWSBase
-
Returns the JOSE Header as
JsonObject. - getJsonWebPublicKey() - Method in class de.christofreichardt.json.websignature.JOSEHeader
-
Returns the configured "jwk" (JSON Web Key)
- getKeyPair() - Method in class de.christofreichardt.json.webkey.JsonWebKeyPair
-
Returns the actual
KeyPair. - getKeyType() - Method in class de.christofreichardt.json.webkey.JsonWebKey
-
Returns the required "kty" (Key Type) parameter.
- getKid() - Method in class de.christofreichardt.json.webkey.JsonWebKey
-
Returns the "kid" (Key ID) parameter.
- getKid() - Method in class de.christofreichardt.json.websignature.JOSEHeader
-
Returns the configured "kid" (Key ID)
- getPayload() - Method in class de.christofreichardt.json.websignature.JWSBase
-
Returns the payload as
JsonObject. - getPublicKey() - Method in class de.christofreichardt.json.webkey.JsonWebPublicKey
-
Returns the contained public key.
- getSecretKey() - Method in class de.christofreichardt.json.webkey.JsonWebSecretKey
-
Returns the wrapped
SecretKey. - getStrJoseHeader() - Method in class de.christofreichardt.json.websignature.JWSBase
-
Returns the string representation of the JOSE header.
- getStrPayload() - Method in class de.christofreichardt.json.websignature.JWSBase
-
Returns the string representation of the actual payload.
- getTyp() - Method in class de.christofreichardt.json.websignature.JOSEHeader
-
Returns the configured "typ" (Type).
H
- hashCode() - Method in class de.christofreichardt.json.webkey.JsonWebKeyPair
-
A hash code for this
JsonWebKeyPair. - hashCode() - Method in class de.christofreichardt.json.webkey.JsonWebPublicKey
-
A hash code for this
JsonWebPublicKey. - hashCode() - Method in class de.christofreichardt.json.webkey.JsonWebSecretKey
-
A hash code for this
JsonWebSecretKey. - hashCode() - Method in class de.christofreichardt.json.websignature.JOSEHeader
-
A hash code for this header.
- hashCode() - Method in record class de.christofreichardt.json.websignature.JWSCompactSerialization
-
Returns a hash code value for this object.
- header(String) - Method in interface de.christofreichardt.json.websignature.interfaces.BeforeHeader
-
Notes the given explicit JOSE header.
- header(String) - Method in class de.christofreichardt.json.websignature.JWS.Signature
- HmacSHA256 - Class in de.christofreichardt.json.websignature
-
An apapter to the underlying MAC instance provided by the Java platform which has the same name.
I
- init(Key) - Method in class de.christofreichardt.json.websignature.HmacSHA256
- init(Key) - Method in interface de.christofreichardt.json.websignature.JWSAlgorithm
-
Initialises the underlying algorithm provided by the Java platform with the given key.
- init(Key) - Method in class de.christofreichardt.json.websignature.SHA256withECDSA
- init(Key) - Method in class de.christofreichardt.json.websignature.SHA256withRSA
J
- JDK2JSON_ALGO_MAP - Static variable in class de.christofreichardt.json.webkey.JsonWebSecretKey
- joseHeader() - Method in record class de.christofreichardt.json.websignature.JWSCompactSerialization
-
Decodes the BASE64 URL encoded JOSE header and constructs an appropriate
JsonObject. - JOSEHeader - Class in de.christofreichardt.json.websignature
-
A convenient class useful to define a JOSE Header containing the parameters describing the cryptographic operations and parameters employed.
- JOSEHeader.AlgorithmBuilder - Class in de.christofreichardt.json.websignature
-
A builder for a
JOSEHeaderpreconfigured with the "alg" parameter. - JOSEHeader.PublicKeyBuilder - Class in de.christofreichardt.json.websignature
-
A builder for a
JOSEHeaderpreconfigured with a JSON web (public) key. - JSON2JDK_ALGO_MAP - Static variable in class de.christofreichardt.json.webkey.JsonWebSecretKey
- Json2StringConverter - Interface in de.christofreichardt.json.websignature
-
Implementations of this interface are required when formatting JSON structures in a predictable way prior to applying digital signatures.
- JsonUtils - Class in de.christofreichardt.json
- JsonWebKey - Class in de.christofreichardt.json.webkey
-
Base class for JSON web keys.
- JsonWebKey.Builder<T extends JsonWebKey.Builder<T>> - Class in de.christofreichardt.json.webkey
-
Base class for all
JsonWebKey.Builders. - JsonWebKeyPair - Class in de.christofreichardt.json.webkey
-
Convenient for the handling of key pairs in the spirit of RFC 7517 (JSON Web Key) and RFC 7518 (JSON Web Algorithms).
- JsonWebKeyPair.Builder - Class in de.christofreichardt.json.webkey
-
A
JsonWebKey.Builderfor buildingJsonWebKeyPairs by internally generating an EC key pair for the curve "secp256r1". - JsonWebKeyPair.KeyPairBuilder - Class in de.christofreichardt.json.webkey
- JsonWebKeyPair.ParameterSpecBuilder - Class in de.christofreichardt.json.webkey
- JsonWebKeyUtils - Class in de.christofreichardt.json.webkey
-
Some low level utility procedures for handling raw bytes.
- jsonWebPublicKey() - Method in class de.christofreichardt.json.webkey.JsonWebKeyPair
-
Creates a
JsonWebPublicKeyfrom thisJsonWebKeyPair. - JsonWebPublicKey - Class in de.christofreichardt.json.webkey
-
Convenient for the handling of public keys in the spirit of RFC 7517 (JSON Web Key) and RFC 7518 (JSON Web Algorithms).
- JsonWebPublicKey.Builder - Class in de.christofreichardt.json.webkey
- JsonWebSecretKey - Class in de.christofreichardt.json.webkey
-
Convenient for the handling of secret keys in the spirit of RFC 7517 (JSON Web Key) and RFC 7518 (JSON Web Algorithms).
- JsonWebSecretKey.Builder - Class in de.christofreichardt.json.webkey
-
A
JsonWebKey.Builderfor buildingJsonWebSecretKeys by specifying an algorithm and a keysize. - JsonWebSecretKey.SecretKeyBuilder - Class in de.christofreichardt.json.webkey
- JWS - Class in de.christofreichardt.json.websignature
-
This class provides a Fluent API for generating and validating JSON Web Signatures.
- JWS.Signature - Class in de.christofreichardt.json.websignature
-
Implements all interfaces of the Fluent API related to creating signatures.
- JWS.Validator - Class in de.christofreichardt.json.websignature
-
Implements all interfaces of the Fluent API related to validating signatures.
- JWSAlgorithm - Interface in de.christofreichardt.json.websignature
-
All algorithm classes used for signing or validating must implement this interface.
- JWSBase - Class in de.christofreichardt.json.websignature
-
This class provides some core functionality related to creating and validating signatures.
- JWSCompactSerialization - Record Class in de.christofreichardt.json.websignature
-
A holder for the strings representing the compact serialization format as specified by RFC 7515 (JSON Web Signature).
- JWSCompactSerialization(String, String, String) - Constructor for record class de.christofreichardt.json.websignature.JWSCompactSerialization
-
Creates an instance of a
JWSCompactSerializationrecord class. - JWSSigner - Class in de.christofreichardt.json.websignature
-
Low level class for the creating JSON web signatures.
- JWSSigner(JsonObject, JsonStructure) - Constructor for class de.christofreichardt.json.websignature.JWSSigner
- JWSSigner(JsonObject, JsonStructure, Json2StringConverter) - Constructor for class de.christofreichardt.json.websignature.JWSSigner
- JWSSigner(String, String) - Constructor for class de.christofreichardt.json.websignature.JWSSigner
- JWSValidator - Class in de.christofreichardt.json.websignature
-
Low level class for the validating JSON web signatures.
- JWSValidator(JWSCompactSerialization) - Constructor for class de.christofreichardt.json.websignature.JWSValidator
K
- key(JsonWebPublicKey) - Method in interface de.christofreichardt.json.websignature.interfaces.BeforeKey
-
Notes the given
JsonWebPublicKey. - key(JsonWebPublicKey) - Method in class de.christofreichardt.json.websignature.JWS.Validator
- key(JsonWebSecretKey) - Method in interface de.christofreichardt.json.websignature.interfaces.BeforeKey
-
Notes the given
JsonWebSecretKey. - key(JsonWebSecretKey) - Method in class de.christofreichardt.json.websignature.JWS.Validator
- key(KeyPair) - Method in interface de.christofreichardt.json.websignature.interfaces.SignatureBegin
-
The given
KeyPairwill be used to build aJsonWebKeyPair. - key(KeyPair) - Method in class de.christofreichardt.json.websignature.JWS.Signature
- key(PublicKey) - Method in interface de.christofreichardt.json.websignature.interfaces.BeforeKey
-
Notes the given
PublicKey. - key(PublicKey) - Method in class de.christofreichardt.json.websignature.JWS.Validator
- key(SecretKey) - Method in interface de.christofreichardt.json.websignature.interfaces.BeforeKey
-
Notes the given
SecretKey. - key(SecretKey) - Method in interface de.christofreichardt.json.websignature.interfaces.SignatureBegin
-
The given
SecretKeywill be used to build aJsonWebSecretKey. - key(SecretKey) - Method in class de.christofreichardt.json.websignature.JWS.Signature
- key(SecretKey) - Method in class de.christofreichardt.json.websignature.JWS.Validator
- KeyPairBuilder(KeyPair) - Constructor for class de.christofreichardt.json.webkey.JsonWebKeyPair.KeyPairBuilder
- kid(String) - Method in interface de.christofreichardt.json.websignature.interfaces.BeforeKid
-
Notes the given
kid. - kid(String) - Method in class de.christofreichardt.json.websignature.JWS.Signature
N
- NamedECParameterSpec - Class in de.christofreichardt.json.webkey
-
Helper class needed to propagate the identifiers of this curve through serialization and deserialization.
- NamedECParameterSpec(String, EllipticCurve, ECPoint, BigInteger, int) - Constructor for class de.christofreichardt.json.webkey.NamedECParameterSpec
-
Creates elliptic curve domain parameters based on the specified values.
O
- of() - Static method in class de.christofreichardt.json.webkey.JsonWebKeyPair
-
Creates the default builder for a
JsonWebKeyPair. - of() - Static method in class de.christofreichardt.json.webkey.JsonWebSecretKey
-
Creates the default builder for a
JsonWebSecretKey. - of(JsonWebPublicKey) - Static method in class de.christofreichardt.json.websignature.JOSEHeader
-
Creates a special builder for a
JOSEHeader. - of(String) - Static method in class de.christofreichardt.json.websignature.JOSEHeader
-
Creates a special builder for a
JOSEHeader. - of(String) - Static method in record class de.christofreichardt.json.websignature.JWSCompactSerialization
-
Factory method which expects an actual compact serialization format.
- of(KeyPair) - Static method in class de.christofreichardt.json.webkey.JsonWebKeyPair
-
Creates a special builder for a
JsonWebKeyPair. - of(PublicKey) - Static method in class de.christofreichardt.json.webkey.JsonWebPublicKey
-
Creates the builder for a
JsonWebPublicKey. - of(AlgorithmParameterSpec) - Static method in class de.christofreichardt.json.webkey.JsonWebKeyPair
-
Creates a special builder for a
JsonWebKeyPair. - of(SecretKey) - Static method in class de.christofreichardt.json.webkey.JsonWebSecretKey
-
Creates a special builder for a
JsonWebSecretKey. - orElseThrow(JsonObject, String, Class<T>) - Static method in class de.christofreichardt.json.JsonUtils
- orElseThrow(JsonObject, String, Class<T>, Supplier<? extends X>) - Static method in class de.christofreichardt.json.JsonUtils
P
- ParameterSpecBuilder(AlgorithmParameterSpec) - Constructor for class de.christofreichardt.json.webkey.JsonWebKeyPair.ParameterSpecBuilder
- payload() - Method in record class de.christofreichardt.json.websignature.JWSCompactSerialization
-
Decodes the BASE64 URL encoded payload and constructs an appropriate
JsonObject. - payload(JsonStructure) - Method in interface de.christofreichardt.json.websignature.interfaces.BeforePayload
-
Introduces the actual payload.
- payload(JsonStructure) - Method in class de.christofreichardt.json.websignature.JWS.Signature
- payload(JsonStructure, Json2StringConverter) - Method in interface de.christofreichardt.json.websignature.interfaces.BeforePayload
-
Introduces the actual payload together with a
Json2StringConverter. - payload(JsonStructure, Json2StringConverter) - Method in class de.christofreichardt.json.websignature.JWS.Signature
- payload(String) - Method in interface de.christofreichardt.json.websignature.interfaces.BeforePayload
-
Introduces the actual payload as string.
- payload(String) - Method in class de.christofreichardt.json.websignature.JWS.Signature
- PrettyStringConverter - Class in de.christofreichardt.json.websignature
-
A formatter of
JsonStructures. - PrettyStringConverter() - Constructor for class de.christofreichardt.json.websignature.PrettyStringConverter
- PublicKeyBuilder(JsonWebPublicKey) - Constructor for class de.christofreichardt.json.websignature.JOSEHeader.PublicKeyBuilder
S
- SecretKeyBuilder(SecretKey) - Constructor for class de.christofreichardt.json.webkey.JsonWebSecretKey.SecretKeyBuilder
- SHA256withECDSA - Class in de.christofreichardt.json.websignature
-
An apapter to the underlying Signature instance provided by the Java platform which has the same name.
- SHA256withRSA - Class in de.christofreichardt.json.websignature
-
An apapter to the underlying Signature instance provided by the Java platform which has the same name.
- sign() - Method in interface de.christofreichardt.json.websignature.interfaces.SignatureEnd
-
Uses the gathered information to create a JSON Web Signature using the JWS Compact Serialization.
- sign() - Method in class de.christofreichardt.json.websignature.JWS.Signature
- sign(Key) - Method in class de.christofreichardt.json.websignature.JWSSigner
- signature() - Method in class de.christofreichardt.json.websignature.HmacSHA256
- signature() - Method in interface de.christofreichardt.json.websignature.JWSAlgorithm
-
Requests a signature from the underlying algorithm for the delivered bytes.
- signature() - Method in class de.christofreichardt.json.websignature.SHA256withECDSA
- signature() - Method in class de.christofreichardt.json.websignature.SHA256withRSA
- Signature() - Constructor for class de.christofreichardt.json.websignature.JWS.Signature
- SignatureBegin - Interface in de.christofreichardt.json.websignature.interfaces
-
Defines the starting point for generating JSON Web Signatures.
- SignatureEnd - Interface in de.christofreichardt.json.websignature.interfaces
-
Defines the final step within the workflow of the Fluent API regarding the generation of signatures.
- skipLeadingZeroes(byte[]) - Static method in class de.christofreichardt.json.webkey.JsonWebKeyUtils
-
Cuts leading zeroes from the beginning of the byte array.
- skipSurplusZeroes(byte[], int) - Static method in class de.christofreichardt.json.webkey.JsonWebKeyUtils
-
Cuts surplus zeroes from the beginning of the byte array.
T
- toJson() - Method in class de.christofreichardt.json.webkey.JsonWebKey
-
Serializes the common JWK parameters.
- toJson() - Method in class de.christofreichardt.json.webkey.JsonWebKeyPair
-
Converts this
JsonWebKeyPairinto a plainJsonObject. - toJson() - Method in class de.christofreichardt.json.webkey.JsonWebPublicKey
-
Converts this
JsonWebPublicKeyinto a plainJsonObject. - toJson() - Method in class de.christofreichardt.json.webkey.JsonWebSecretKey
-
Converts this
JsonWebSecretKeyinto a plainJsonObject. - toJson() - Method in class de.christofreichardt.json.websignature.JOSEHeader
-
Converts this
JOSEHeaderinto a plainJsonObject. - toString() - Method in class de.christofreichardt.json.webkey.JsonWebKey
- toString() - Method in class de.christofreichardt.json.webkey.JsonWebKeyPair
-
Returns a textual representation of this
JsonWebKeyPair. - toString() - Method in class de.christofreichardt.json.webkey.JsonWebPublicKey
-
Returns a textual representation of this
JsonWebPublicKey. - toString() - Method in class de.christofreichardt.json.webkey.JsonWebSecretKey
-
Returns a textual representation of this
JsonWebSecretKey. - toString() - Method in class de.christofreichardt.json.webkey.NamedECParameterSpec
-
Returns some identifier of the wrapped curve, e.g.
- toString() - Method in record class de.christofreichardt.json.websignature.JWSCompactSerialization
-
Returns the actual compact serialization format as string object.
- typ(String) - Method in interface de.christofreichardt.json.websignature.interfaces.BeforeHeader
-
Notes the given
typ. - typ(String) - Method in class de.christofreichardt.json.websignature.JWS.Signature
U
- update(byte[]) - Method in class de.christofreichardt.json.websignature.HmacSHA256
- update(byte[]) - Method in interface de.christofreichardt.json.websignature.JWSAlgorithm
-
Hands over the given bytes to the underlying algorithm provided by the Java platform.
- update(byte[]) - Method in class de.christofreichardt.json.websignature.SHA256withECDSA
- update(byte[]) - Method in class de.christofreichardt.json.websignature.SHA256withRSA
V
- validate() - Method in interface de.christofreichardt.json.websignature.interfaces.ValidationEnd
-
Uses the gathered information to validate the signature.
- validate() - Method in class de.christofreichardt.json.websignature.JWS.Validator
- validate(Key) - Method in class de.christofreichardt.json.websignature.JWSValidator
- ValidationBegin - Interface in de.christofreichardt.json.websignature.interfaces
-
The first stopover within the workflow of the Fluent API regarding the validation of signatures.
- ValidationEnd - Interface in de.christofreichardt.json.websignature.interfaces
-
Defines the final step within the workflow of the Fluent API regarding the generation of signatures.
- Validator() - Constructor for class de.christofreichardt.json.websignature.JWS.Validator
- verify(byte[]) - Method in class de.christofreichardt.json.websignature.HmacSHA256
- verify(byte[]) - Method in interface de.christofreichardt.json.websignature.JWSAlgorithm
-
Requests the validation of the delivered data agianst the given signature.
- verify(byte[]) - Method in class de.christofreichardt.json.websignature.SHA256withECDSA
- verify(byte[]) - Method in class de.christofreichardt.json.websignature.SHA256withRSA
W
- webkey(JsonWebKeyPair) - Method in interface de.christofreichardt.json.websignature.interfaces.SignatureBegin
-
Notes the given
JsonWebKeyPair. - webkey(JsonWebKeyPair) - Method in class de.christofreichardt.json.websignature.JWS.Signature
- webkey(JsonWebSecretKey) - Method in interface de.christofreichardt.json.websignature.interfaces.SignatureBegin
-
Notes the given
JsonWebSecretKey. - webkey(JsonWebSecretKey) - Method in class de.christofreichardt.json.websignature.JWS.Signature
- withAlgorithm(String) - Method in class de.christofreichardt.json.webkey.JsonWebSecretKey.Builder
- withKeysize(int) - Method in class de.christofreichardt.json.webkey.JsonWebSecretKey.Builder
- withKid(String) - Method in class de.christofreichardt.json.webkey.JsonWebKey.Builder
- withKid(String) - Method in class de.christofreichardt.json.websignature.JOSEHeader.AlgorithmBuilder
- withTyp(String) - Method in class de.christofreichardt.json.websignature.JOSEHeader.AlgorithmBuilder
- withTyp(String) - Method in class de.christofreichardt.json.websignature.JOSEHeader.PublicKeyBuilder
All Classes and Interfaces|All Packages