Class PEMIdentitySource
java.lang.Object
com.netflix.spinnaker.kork.crypto.PEMIdentitySource
- All Implemented Interfaces:
X509IdentitySource
Implements an identity source based on a PEM-encoded private key and certificate file. Private
keys must not be encrypted (e.g., they must include the
-nodes option when generating
them via OpenSSL). The certificate file must use the same key algorithm as the private key file.
Supported key algorithms include RSA and EC.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the time that the key or certificate source was last modified.load()Loads anX509Identityfrom this underlying source.Methods 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.X509IdentitySource
getExpiresAt, getLastLoaded, refreshable
-
Constructor Details
-
PEMIdentitySource
public PEMIdentitySource()
-
-
Method Details
-
getLastModified
Description copied from interface:X509IdentitySourceReturns the time that the key or certificate source was last modified.- Specified by:
getLastModifiedin interfaceX509IdentitySource
-
load
Description copied from interface:X509IdentitySourceLoads anX509Identityfrom this underlying source. Any thrownGeneralSecurityExceptioninstances should be rethrown in aNestedSecurityIOException.- Specified by:
loadin interfaceX509IdentitySource- Throws:
IOException
-