Index

A C D E F G I J P R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ALGORITHM - Static variable in class io.jans.lock.trace.crypto.bc.Ed25519PublicKeys
JCA algorithm name used for KeyFactory, Signature and KeyPairGenerator.

C

CanonicalHashes - Class in io.jans.lock.trace.crypto.bc
SHA-256 digests in the TRACE sha256:<64 lowercase hex> format over raw bytes or over the JCS canonical form of a JSON value.
canonicalize(JsonNode) - Method in class io.jans.lock.trace.crypto.bc.JavaTraceCryptoProvider
 
canonicalize(JsonNode) - Static method in class io.jans.lock.trace.crypto.bc.JcsCanonicalizer
Canonicalizes the JSON value as a Java string (UTF-16).
canonicalizeToUtf8(JsonNode) - Static method in class io.jans.lock.trace.crypto.bc.JcsCanonicalizer
Canonicalizes the JSON value and encodes the result as UTF-8 (no BOM).

D

describe() - Method in class io.jans.lock.trace.crypto.bc.JavaTraceCryptoProvider
 

E

Ed25519Capability - Class in io.jans.lock.trace.crypto.bc
Startup probe for Ed25519 support in the installed BouncyCastle provider.
Ed25519Capability() - Constructor for class io.jans.lock.trace.crypto.bc.Ed25519Capability
 
Ed25519PublicKeys - Class in io.jans.lock.trace.crypto.bc
Builds Ed25519 PublicKeys from RFC 8037 OKP JWKs ({"kty":"OKP","crv":"Ed25519","x":"<32 raw bytes, base64url>"}) through the JCA KeyFactory of the installed BouncyCastle provider (standard or FIPS), so no BC-internal class is referenced.
Ed25519Verifier - Class in io.jans.lock.trace.crypto.bc
Verifies Ed25519 (RFC 8032, PureEdDSA, no pre-hash, no context) signatures with the JCA Signature of the installed BouncyCastle provider.
Ed25519Verifier() - Constructor for class io.jans.lock.trace.crypto.bc.Ed25519Verifier
 

F

fromJwk(JsonNode) - Static method in class io.jans.lock.trace.crypto.bc.Ed25519PublicKeys
Builds the public key from a JWK given as a Jackson object node (the shape received by the admin API).
fromJwk(Map<String, String>) - Static method in class io.jans.lock.trace.crypto.bc.Ed25519PublicKeys
Builds the public key from a JWK given as a string map (the shape stored in jansTracePublicKeyJwk).
fromRaw(byte[]) - Static method in class io.jans.lock.trace.crypto.bc.Ed25519PublicKeys
Builds the public key from its raw 32 bytes (RFC 8032 encoding, as carried in JWK x).

G

getFailure() - Method in class io.jans.lock.trace.crypto.bc.Ed25519Capability
 
getProviderName() - Method in class io.jans.lock.trace.crypto.bc.Ed25519Capability
 

I

io.jans.lock.trace.crypto.bc - package io.jans.lock.trace.crypto.bc
 
isAvailable() - Method in class io.jans.lock.trace.crypto.bc.Ed25519Capability
 
isAvailable() - Method in class io.jans.lock.trace.crypto.bc.JavaTraceCryptoProvider
 

J

JavaTraceCryptoProvider - Class in io.jans.lock.trace.crypto.bc
TraceCryptoProviderType.JAVA implementation of TraceCryptoProvider: in-house RFC 8785 JCS, Ed25519 through the installed BouncyCastle JCA provider, JDK SHA-256.
JavaTraceCryptoProvider() - Constructor for class io.jans.lock.trace.crypto.bc.JavaTraceCryptoProvider
 
JavaTraceCryptoProvider(Ed25519Capability, Ed25519Verifier) - Constructor for class io.jans.lock.trace.crypto.bc.JavaTraceCryptoProvider
 
JcsCanonicalizer - Class in io.jans.lock.trace.crypto.bc
In-house, dependency-free implementation of RFC 8785 (JSON Canonicalization Scheme, JCS) over Jackson JsonNode trees.
JcsException - Exception in io.jans.lock.trace.crypto.bc
Thrown when a JSON value cannot be canonicalized according to RFC 8785 (JSON Canonicalization Scheme): non-finite numbers, lone UTF-16 surrogates in strings or property names, and Jackson node types that have no JSON representation (POJO, binary, missing).
JcsException(String) - Constructor for exception io.jans.lock.trace.crypto.bc.JcsException
 
JcsException(String, Throwable) - Constructor for exception io.jans.lock.trace.crypto.bc.JcsException
 
JWK_CRV_ED25519 - Static variable in class io.jans.lock.trace.crypto.bc.Ed25519PublicKeys
JWK curve name (RFC 8037 §3.1).
JWK_KTY_OKP - Static variable in class io.jans.lock.trace.crypto.bc.Ed25519PublicKeys
JWK key type of Edwards-curve keys (RFC 8037 §2).

P

parseKey(Map<String, String>) - Method in class io.jans.lock.trace.crypto.bc.JavaTraceCryptoProvider
 
probe() - Method in class io.jans.lock.trace.crypto.bc.Ed25519Capability
Runs the probe.

R

RAW_KEY_LENGTH - Static variable in class io.jans.lock.trace.crypto.bc.Ed25519PublicKeys
Length of a raw Ed25519 public key (RFC 8032 §5.1.5).
receiptHash(String, long, long, String, String, String, String) - Method in class io.jans.lock.trace.crypto.bc.JavaTraceCryptoProvider
 
receiptHash(String, long, long, String, String, String, String) - Static method in class io.jans.lock.trace.crypto.bc.ReceiptHashes
 
ReceiptHashes - Class in io.jans.lock.trace.crypto.bc
The receipt-hash function of the receipt chain (design §9):
requireAvailable() - Method in class io.jans.lock.trace.crypto.bc.Ed25519Capability
 
requireAvailable() - Method in class io.jans.lock.trace.crypto.bc.JavaTraceCryptoProvider
 

S

SHA256_PREFIX - Static variable in class io.jans.lock.trace.crypto.bc.CanonicalHashes
Prefix of every TRACE hash string.
sha256Prefixed(byte[]) - Static method in class io.jans.lock.trace.crypto.bc.CanonicalHashes
 
sha256PrefixedOfJcs(JsonNode) - Static method in class io.jans.lock.trace.crypto.bc.CanonicalHashes
 
SIGNATURE_LENGTH - Static variable in class io.jans.lock.trace.crypto.bc.Ed25519Verifier
Length of an Ed25519 signature (RFC 8032 §5.1.6).

T

thumbprint(Map<String, String>) - Static method in class io.jans.lock.trace.crypto.bc.Ed25519PublicKeys
RFC 7638 / RFC 8037 §A.3 JWK thumbprint of an Ed25519 key in the TRACE hash format : "sha256:" + lowercaseHex(SHA-256(UTF-8( '{"crv":"Ed25519","kty":"OKP","x":"<x>"}'))).
type() - Method in class io.jans.lock.trace.crypto.bc.JavaTraceCryptoProvider
 

V

verify(PublicKey, byte[], byte[]) - Method in class io.jans.lock.trace.crypto.bc.Ed25519Verifier
 
verifyAndDigest(TraceSignedRecord, byte[], TraceVerificationKey) - Method in class io.jans.lock.trace.crypto.bc.JavaTraceCryptoProvider
 

W

withoutField(ObjectNode, String) - Static method in class io.jans.lock.trace.crypto.bc.JcsCanonicalizer
Returns a deep copy of node without the given top-level property.
A C D E F G I J P R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form