Uses of Interface
com.zerodeplibs.webpush.key.PublicKeySource
-
Packages that use PublicKeySource Package Description com.zerodeplibs.webpush Provides the classes and interfaces implementing the key features of Web Push.com.zerodeplibs.webpush.key Provides the classes and interfaces handling cryptographic keys used in Web Push. -
-
Uses of PublicKeySource in com.zerodeplibs.webpush
Methods in com.zerodeplibs.webpush with parameters of type PublicKeySource Modifier and Type Method Description static VAPIDKeyPairVAPIDKeyPairs. of(PrivateKeySource privateKeySource, PublicKeySource publicKeySource)Creates a newVAPIDKeyPairwith the given private key source and the given public key source.static VAPIDKeyPairVAPIDKeyPairs. of(PrivateKeySource privateKeySource, PublicKeySource publicKeySource, BiFunction<ECPrivateKey,ECPublicKey,VAPIDJWTGenerator> jwtGeneratorFactory)Creates a newVAPIDKeyPairwith the given private key source, the given public key source and the given factory forVAPIDJWTGenerator. -
Uses of PublicKeySource in com.zerodeplibs.webpush.key
Methods in com.zerodeplibs.webpush.key that return PublicKeySource Modifier and Type Method Description PublicKeySourcePublicKeySources.PEMFileSourceBuilder. build()Creates a newPublicKeySource.static PublicKeySourcePublicKeySources. ofDERFile(Path path)Creates a newPublicKeySourcewith the DER file specified by the given path.static PublicKeySourcePublicKeySources. ofECPublicKey(ECPublicKey publicKey)Creates a newPublicKeySourcethat wraps the givenECPublicKeyobject.static PublicKeySourcePublicKeySources. ofPEMFile(Path path)Creates a newPublicKeySourcewith the PEM formatted file specified by the given path.static PublicKeySourcePublicKeySources. ofPEMFile(Path path, PEMParser parser)Creates a newPublicKeySourcewith the PEM formatted file specified by the given path.static PublicKeySourcePublicKeySources. ofPEMText(String pemText)Creates a newPublicKeySourcewith the given PEM-encoded text.static PublicKeySourcePublicKeySources. ofPEMText(String pemText, PEMParser parser)Creates a newPublicKeySourcewith the given PEM-encoded text and the givenPEMParser.static PublicKeySourcePublicKeySources. ofUncompressedBytes(byte[] uncompressedBytes)Create a newPublicKeySourcewith the given octet sequence representing a public key on the P-256 curve encoded in the uncompressed form[X9.62].static PublicKeySourcePublicKeySources. ofX509Bytes(byte[] x509Bytes)Creates a newPublicKeySourcewith the given octet sequence that is assumed to be encoded according to the X.509 standard.
-