Uses of Class
com.nimbusds.jose.jwk.OctetKeyPair
-
Packages that use OctetKeyPair Package Description com.nimbusds.jose.crypto Implementations of standard Javascript Object Signing and Encryption (JOSE) algorithms.com.nimbusds.jose.crypto.impl Cryptographic primitives for JWS signers, JWS verifiers, JWE encrypters and JWE decrypters in thecom.nimbusds.jose.crypto
package.com.nimbusds.jose.jwk JSON Web Key (JWK) classes.com.nimbusds.jose.jwk.gen JSON Web Key (JWK) generation utilities. -
-
Uses of OctetKeyPair in com.nimbusds.jose.crypto
Methods in com.nimbusds.jose.crypto that return OctetKeyPair Modifier and Type Method Description OctetKeyPair
ECDH1PUX25519Decrypter. getPrivateKey()
Returns the private key.OctetKeyPair
ECDH1PUX25519Encrypter. getPrivateKey()
Returns the private key.OctetKeyPair
Ed25519Signer. getPrivateKey()
Gets the Ed25519 private key as anOctetKeyPair
.OctetKeyPair
X25519Decrypter. getPrivateKey()
Returns the private key.OctetKeyPair
ECDH1PUX25519Decrypter. getPublicKey()
Returns the public key.OctetKeyPair
ECDH1PUX25519Encrypter. getPublicKey()
Returns the public key.OctetKeyPair
Ed25519Verifier. getPublicKey()
Returns the public key.OctetKeyPair
X25519Encrypter. getPublicKey()
Returns the public key.Constructors in com.nimbusds.jose.crypto with parameters of type OctetKeyPair Constructor Description ECDH1PUX25519Decrypter(OctetKeyPair privateKey, OctetKeyPair publicKey)
Creates a new Curve25519 Elliptic Curve Diffie-Hellman decrypter.ECDH1PUX25519Decrypter(OctetKeyPair privateKey, OctetKeyPair publicKey, Set<String> defCritHeaders)
Creates a new Curve25519 Elliptic Curve Diffie-Hellman decrypter.ECDH1PUX25519Encrypter(OctetKeyPair privateKey, OctetKeyPair publicKey)
Creates a new Curve25519 Elliptic Curve Diffie-Hellman encrypter.ECDH1PUX25519Encrypter(OctetKeyPair privateKey, OctetKeyPair publicKey, SecretKey contentEncryptionKey)
Creates a new Curve25519 Elliptic Curve Diffie-Hellman encrypter.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.X25519Encrypter(OctetKeyPair publicKey, SecretKey contentEncryptionKey)
Creates a new Curve25519 Elliptic Curve Diffie-Hellman encrypter. -
Uses of OctetKeyPair in com.nimbusds.jose.crypto.impl
Methods in com.nimbusds.jose.crypto.impl with parameters of type OctetKeyPair Modifier and Type Method Description static SecretKey
ECDH1PU. deriveRecipientZ(OctetKeyPair privateKey, OctetKeyPair publicKey, OctetKeyPair epk)
Derives a shared secret (also called 'Z') for recipient where Z is the concatenation of Ze and Zs.static SecretKey
ECDH1PU. deriveSenderZ(OctetKeyPair privateKey, OctetKeyPair publicKey, OctetKeyPair epk)
Derives a shared secret (also called 'Z') for sender where Z is the concatenation of Ze and Zs.static SecretKey
ECDH. deriveSharedSecret(OctetKeyPair publicKey, OctetKeyPair privateKey)
Derives a shared secret (also called 'Z') from the specified ECDH key agreement.static void
ECDH1PU. validateSameCurve(OctetKeyPair privateKey, OctetKeyPair publicKey)
Ensures the private key and public key are from the same curve. -
Uses of OctetKeyPair in com.nimbusds.jose.jwk
Methods in com.nimbusds.jose.jwk that return OctetKeyPair Modifier and Type Method Description OctetKeyPair
OctetKeyPair.Builder. build()
Builds a new Octet Key Pair JWK.static OctetKeyPair
OctetKeyPair. parse(String s)
Parses a public / private Octet Key Pair JWK from the specified JSON object string representation.static OctetKeyPair
OctetKeyPair. parse(Map<String,Object> jsonObject)
Parses a public / private Octet Key Pair JWK from the specified JSON object 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.Constructors in com.nimbusds.jose.jwk with parameters of type OctetKeyPair Constructor Description Builder(OctetKeyPair okpJWK)
Creates a new Octet Key Pair JWK builder. -
Uses of OctetKeyPair in com.nimbusds.jose.jwk.gen
Methods in com.nimbusds.jose.jwk.gen that return OctetKeyPair Modifier and Type Method Description OctetKeyPair
OctetKeyPairGenerator. generate()
-