Module com.zerodeplibs.webpush
Package com.zerodeplibs.webpush.key
Provides the classes and interfaces handling cryptographic keys used in Web Push.
-
Interface Summary Interface Description PEMParser Implementations of this interface provide the functionality for parsing PEM format.PrivateKeySource Implementations of this interface represent a source of anECPrivateKey.PublicKeySource Implementations of this interface represent a source of anECPublicKey. -
Class Summary Class Description PEMParsers Static factory methods used to create instances ofPEMParser.PrivateKeySources Static factory methods used to create instances ofPrivateKeySource.PrivateKeySources.PEMFileSourceBuilder The builder class for creating an instance ofPrivateKeySourcefrom a PEM formatted file.PublicKeySources Static factory methods used to create instances ofPublicKeySource.PublicKeySources.PEMFileSourceBuilder The builder class for creating an instance ofPublicKeySourcefrom a PEM formatted file. -
Exception Summary Exception Description InvalidECPublicKeyException This exception is thrown to indicate that an elliptic curve (EC) public key is invalid.KeyExtractionException Wraps checked exceptions such asInvalidKeySpecExceptionthat may occur when a private/public key is being extracted.MalformedPEMException This exception is thrown to indicate that an input text cannot be parsed as a valid PEM format.MalformedUncompressedBytesException This exception is thrown to indicate that an input octet sequence isn't valid uncompressed form[X9.62].