Returns the name of the encoding format associated with this
key specification.
If the opaque representation of a key
(see Key) can be transformed
(see KeyFactory)
into this key specification (or a subclass of it),
getFormat called
on the opaque key returns the same value as the
getFormat method
of this key specification.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[],["`EncodedKeySpec` represents a public or private key in encoded format. It has two direct subclasses: `PKCS8EncodedKeySpec` (private key) and `X509EncodedKeySpec` (public key). The class allows the creation of an `EncodedKeySpec` with a provided encoded key. Key actions include: `getEncoded()`, which retrieves the encoded key as a byte array, and `getFormat()`, which returns the encoding format's name. The constructor ensures the encoded key array is copied.\n"]]