Uses of Class
com.nimbusds.jose.jwk.OctetKeyPair
Packages that use OctetKeyPair
Package
Description
Implementations of standard Javascript Object Signing and Encryption (JOSE)
algorithms.
Cryptographic primitives for JWS signers, JWS verifiers, JWE encrypters and
JWE decrypters in the
com.nimbusds.jose.crypto package.JSON Web Key (JWK) classes.
JSON Web Key (JWK) generation utilities.
-
Uses of OctetKeyPair in com.nimbusds.jose.crypto
Methods in com.nimbusds.jose.crypto that return OctetKeyPairModifier and TypeMethodDescriptionECDH1PUX25519Decrypter.getPrivateKey()Returns the private key.ECDH1PUX25519Encrypter.getPrivateKey()Returns the private key.Ed25519Signer.getPrivateKey()Gets the Ed25519 private key as anOctetKeyPair.X25519Decrypter.getPrivateKey()Returns the private key.ECDH1PUX25519Decrypter.getPublicKey()Returns the public key.ECDH1PUX25519Encrypter.getPublicKey()Returns the public key.Ed25519Verifier.getPublicKey()Returns the public key.X25519Encrypter.getPublicKey()Returns the public key.Constructors in com.nimbusds.jose.crypto with parameters of type OctetKeyPairModifierConstructorDescriptionECDH1PUX25519Decrypter(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 an 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 OctetKeyPairModifier and TypeMethodDescriptionstatic SecretKeyECDH1PU.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 SecretKeyECDH1PU.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 SecretKeyECDH.deriveSharedSecret(OctetKeyPair publicKey, OctetKeyPair privateKey) Derives a shared secret (also called 'Z') from the specified ECDH key agreement.static voidECDH1PU.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 OctetKeyPairModifier and TypeMethodDescriptionOctetKeyPair.Builder.build()Builds a new Octet Key Pair JWK.static OctetKeyPairParses a public / private Octet Key Pair JWK from the specified JSON object string representation.static OctetKeyPairParses a public / private Octet Key Pair JWK from the specified JSON object representation.JWK.toOctetKeyPair()Casts this JWK to an octet key pair JWK.OctetKeyPair.toPublicJWK()Returns a copy of this Octet Key Pair JWK with any private values removed.OctetKeyPair.toRevokedJWK(KeyRevocation keyRevocation) Constructors in com.nimbusds.jose.jwk with parameters of type OctetKeyPairModifierConstructorDescriptionBuilder(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