Package | Description |
---|---|
com.nimbusds.jose.crypto |
Implementations of all standard Javascript Object Signing and Encryption
(JOSE) algorithms.
|
com.nimbusds.jose.crypto.impl |
Cryptographic primitives and framework for the JWS signers / verifiers and
JWE encrypters / decrypters in the
com.nimbusds.jose.crypto package. |
com.nimbusds.jose.jwk |
JSON Web Key (JWK) classes.
|
com.nimbusds.jose.jwk.gen |
Key generation utilities.
|
Modifier and Type | Method and Description |
---|---|
OctetKeyPair |
X25519Decrypter.getPrivateKey()
Returns the private key.
|
OctetKeyPair |
Ed25519Signer.getPrivateKey()
Gets the Ed25519 private key as an
OctetKeyPair . |
OctetKeyPair |
Ed25519Verifier.getPublicKey()
Returns the public key.
|
OctetKeyPair |
X25519Encrypter.getPublicKey()
Returns the public key.
|
Constructor and Description |
---|
Ed25519Signer(OctetKeyPair privateKey)
Creates a new Ed25519 signer.
|
Ed25519Verifier(OctetKeyPair publicKey)
Creates a new Ed25519 verifier.
|
Ed25519Verifier(OctetKeyPair publicKey,
Set<String> defCritHeaders)
Creates a Ed25519 verifier.
|
X25519Decrypter(OctetKeyPair privateKey)
Creates a new Curve25519 Elliptic Curve Diffie-Hellman decrypter.
|
X25519Decrypter(OctetKeyPair privateKey,
Set<String> defCritHeaders)
Creates a new Curve25519 Elliptic Curve Diffie-Hellman decrypter.
|
X25519Encrypter(OctetKeyPair publicKey)
Creates a new Curve25519 Elliptic Curve Diffie-Hellman encrypter.
|
Modifier and Type | Method and Description |
---|---|
static SecretKey |
ECDH.deriveSharedSecret(OctetKeyPair publicKey,
OctetKeyPair privateKey)
Derives a shared secret (also called 'Z') from the specified ECDH
key agreement.
|
Modifier and Type | Method and Description |
---|---|
OctetKeyPair |
OctetKeyPair.Builder.build()
Builds a new Octet Key Pair JWK.
|
static OctetKeyPair |
OctetKeyPair.parse(net.minidev.json.JSONObject jsonObject)
Parses a public / private Octet Key Pair JWK from the specified JSON
object representation.
|
static OctetKeyPair |
OctetKeyPair.parse(String s)
Parses a public / private Octet Key Pair JWK from the specified JSON
object string representation.
|
OctetKeyPair |
JWK.toOctetKeyPair()
Casts this JWK to an octet key pair JWK.
|
OctetKeyPair |
OctetKeyPair.toPublicJWK()
Returns a copy of this Octet Key Pair JWK with any private values
removed.
|
Constructor and Description |
---|
Builder(OctetKeyPair okpJWK)
Creates a new Octet Key Pair JWK builder.
|
Modifier and Type | Method and Description |
---|---|
OctetKeyPair |
OctetKeyPairGenerator.generate() |
Copyright © 2020 Connect2id Ltd.. All rights reserved.