Uses of Interface
com.zerodeplibs.webpush.key.PrivateKeySource
-
Packages that use PrivateKeySource 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 PrivateKeySource in com.zerodeplibs.webpush
Methods in com.zerodeplibs.webpush with parameters of type PrivateKeySource 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 PrivateKeySource in com.zerodeplibs.webpush.key
Methods in com.zerodeplibs.webpush.key that return PrivateKeySource Modifier and Type Method Description PrivateKeySourcePrivateKeySources.PEMFileSourceBuilder. build()Creates a newPrivateKeySource.static PrivateKeySourcePrivateKeySources. ofDERFile(Path path)Creates a newPrivateKeySourcewith the DER file specified by the given path.static PrivateKeySourcePrivateKeySources. ofECPrivateKey(ECPrivateKey privateKey)Creates a newPrivateKeySourcethat wraps the givenECPrivateKeyobject.static PrivateKeySourcePrivateKeySources. ofPEMFile(Path path)Creates a newPrivateKeySourcewith the PEM formatted file specified by the given path.static PrivateKeySourcePrivateKeySources. ofPEMFile(Path path, PEMParser parser)Creates a newPrivateKeySourcewith the PEM formatted file specified by the given path.static PrivateKeySourcePrivateKeySources. ofPEMText(String pemText)Creates a newPrivateKeySourcewith the given PEM-encoded text.static PrivateKeySourcePrivateKeySources. ofPEMText(String pemText, PEMParser parser)Creates a newPrivateKeySourcewith the given PEM-encoded text and the givenPEMParser.static PrivateKeySourcePrivateKeySources. ofPKCS8Bytes(byte[] pkcs8Bytes)Creates a newPrivateKeySourcewith the given octet sequence that is assumed to be encoded according to the PKCS#8 standard.
-