Package co.elastic.apm.attach
Class AgentDownloader
java.lang.Object
co.elastic.apm.attach.AgentDownloader
A utility for downloading any given version of the Elastic APM Java agent from maven central.
After being downloaded, the agent jar is verified to match the expected PGP signature from maven central. If
verification fails, the agent is removed from the local storage and the entire task fails.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns the public keys used to sign agent artifacts
-
Field Details
-
USER_AGENT
-
-
Constructor Details
-
AgentDownloader
-
-
Method Details
-
getCliJarVersion
-
getPublicKeys
Returns the public keys used to sign agent artifacts- Returns:
- map of signing keys, with key ID as key, and the raw public key value as value
-