java.lang.Object
io.helidon.common.pki.PemKeys.BuilderBase.PemKeysImpl
- All Implemented Interfaces:
Prototype.Api,PemKeys
- Enclosing class:
PemKeys.BuilderBase<BUILDER extends PemKeys.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends PemKeys>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.common.pki.PemKeys
PemKeys.Builder, PemKeys.BuilderBase<BUILDER extends PemKeys.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends PemKeys> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPemKeysImpl(PemKeys.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionLoad certificate chain from PEM resource.Read one or more certificates in PEM format from a resource definition.booleaninthashCode()key()Read a private key from PEM format from a resource definition.Optional<char[]> Passphrase for private key.Read a public key from PEM format from a resource definition.toString()
-
Constructor Details
-
PemKeysImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
key
Description copied from interface:PemKeysRead a private key from PEM format from a resource definition. -
keyPassphrase
Description copied from interface:PemKeysPassphrase for private key. If the key is encrypted (and in PEM PKCS#8 format), this passphrase will be used to decrypt it.- Specified by:
keyPassphrasein interfacePemKeys- Returns:
- passphrase used to encrypt the private key
-
publicKey
Description copied from interface:PemKeysRead a public key from PEM format from a resource definition. -
certChain
Description copied from interface:PemKeysLoad certificate chain from PEM resource. -
certificates
Description copied from interface:PemKeysRead one or more certificates in PEM format from a resource definition. Used eg: in a trust store.- Specified by:
certificatesin interfacePemKeys- Returns:
- key resource (file, classpath, URL etc.)
-
toString
-
equals
-
hashCode
public int hashCode()
-