java.lang.Object
io.helidon.common.pki.Keys.BuilderBase.KeysImpl
- All Implemented Interfaces:
Prototype.Api,Keys
- Enclosing class:
Keys.BuilderBase<BUILDER extends Keys.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends Keys>
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.Keys
Keys.Builder, Keys.BuilderBase<BUILDER extends Keys.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends Keys> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedKeysImpl(Keys.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionThe X.509 Certificate Chain.certs()The X.509 Certificates.booleaninthashCode()keystore()Configure keys from a keystore.pem()Configure keys from pem file(s).The private key of this config if configured.The public X.509 Certificate if configured.The public key of this config if configured.toString()
-
Constructor Details
-
KeysImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
keystore
Description copied from interface:KeysConfigure keys from a keystore. Once the config object is built, this option will ALWAYS be empty. All keys from the keystore will be populated toKeys.privateKey(),Keys.publicKey(),Keys.publicCert()etc. -
pem
Description copied from interface:KeysConfigure keys from pem file(s). Once the config object is built, this option will ALWAYS be empty. All keys from the keystore will be populated toKeys.privateKey(),Keys.publicKey(),Keys.publicCert()etc. -
publicKey
Description copied from interface:KeysThe public key of this config if configured. -
privateKey
Description copied from interface:KeysThe private key of this config if configured.- Specified by:
privateKeyin interfaceKeys- Returns:
- the private key of this config or empty if not configured
-
publicCert
Description copied from interface:KeysThe public X.509 Certificate if configured.- Specified by:
publicCertin interfaceKeys- Returns:
- the public certificate of this config or empty if not configured
-
certChain
Description copied from interface:KeysThe X.509 Certificate Chain. -
certs
Description copied from interface:KeysThe X.509 Certificates. -
toString
-
equals
-
hashCode
public int hashCode()
-