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.cryptopackage.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 OctetKeyPairECDH1PUX25519Decrypter. getPrivateKey()Returns the private key.OctetKeyPairECDH1PUX25519Encrypter. getPrivateKey()Returns the private key.OctetKeyPairEd25519Signer. getPrivateKey()Gets the Ed25519 private key as anOctetKeyPair.OctetKeyPairX25519Decrypter. getPrivateKey()Returns the private key.OctetKeyPairECDH1PUX25519Decrypter. getPublicKey()Returns the public key.OctetKeyPairECDH1PUX25519Encrypter. getPublicKey()Returns the public key.OctetKeyPairEd25519Verifier. getPublicKey()Returns the public key.OctetKeyPairX25519Encrypter. 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. -
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 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 OctetKeyPair Modifier and Type Method Description OctetKeyPairOctetKeyPair.Builder. build()Builds a new Octet Key Pair JWK.static OctetKeyPairOctetKeyPair. parse(String s)Parses a public / private Octet Key Pair JWK from the specified JSON object string representation.static OctetKeyPairOctetKeyPair. parse(Map<String,Object> jsonObject)Parses a public / private Octet Key Pair JWK from the specified JSON object representation.OctetKeyPairJWK. toOctetKeyPair()Casts this JWK to an octet key pair JWK.OctetKeyPairOctetKeyPair. 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 OctetKeyPairOctetKeyPairGenerator. generate()
-