Class StaticX509Identity
java.lang.Object
com.netflix.spinnaker.kork.crypto.StaticX509Identity
- All Implemented Interfaces:
X509Identity,Destroyable
Provides a static implementation of an
X509Identity. This identity is configured with a
parsed PrivateKey and corresponding X509Certificate chain.-
Constructor Summary
ConstructorsConstructorDescriptionStaticX509Identity(PrivateKey privateKey, X509Certificate[] certificateChain) -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Returns the certificate chain for this identity.booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.netflix.spinnaker.kork.crypto.X509Identity
createSSLContext, createSSLContext, createSSLContext, getPrivateCredential
-
Constructor Details
-
StaticX509Identity
-
-
Method Details
-
getCertificateChain
Description copied from interface:X509IdentityReturns the certificate chain for this identity.- Specified by:
getCertificateChainin interfaceX509Identity
-
destroy
- Specified by:
destroyin interfaceDestroyable- Throws:
DestroyFailedException
-
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyedin interfaceDestroyable
-