Package net.targetr.wtm3.net.tls
Class GeneratedCert
java.lang.Object
net.targetr.wtm3.net.tls.GeneratedCert
Wraps a certificate and private key into one object.
- Author:
- Dr Michael Gardiner
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal X509CertificateThe certificate matching the private keyfinal PrivateKeyThe private key matching certificate. -
Constructor Summary
ConstructorsConstructorDescriptionGeneratedCert(PrivateKey privateKey, X509Certificate certificate) Creates a new GeneratedCert object with private key and certificate. -
Method Summary
-
Field Details
-
privateKey
The private key matching certificate. -
certificate
The certificate matching the private key
-
-
Constructor Details
-
GeneratedCert
Creates a new GeneratedCert object with private key and certificate.- Parameters:
privateKey- Private key to use for communications.certificate- Certificate to use with private key.
-