Class DigitalOceanParserModule.SshPublicKeyAdapter

  • Enclosing class:
    DigitalOceanParserModule

    @Singleton
    public static class DigitalOceanParserModule.SshPublicKeyAdapter
    extends com.google.gson.TypeAdapter<PublicKey>
    • Constructor Detail

      • SshPublicKeyAdapter

        @Inject
        public SshPublicKeyAdapter​(com.google.common.base.Function<PublicKey,​String> publicKeyToSshKey,
                                   com.google.common.base.Function<String,​PublicKey> sshKeyToPublicKey)