[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[aspectj-users] hide or encrypt aspectj annotations (in LTW)
- From: hmimou lbyad <hmimou11@xxxxxxxxx>
- Date: Tue, 20 Sep 2011 20:54:34 +0000
- Delivered-to: firstname.lastname@example.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=KuQm01MfJW0mHUQykD3JnT1NwvSQlN6qgv+MxFV4HVw=; b=MTwcyty9gT07WggokFsqM1KCPZsXT6J3nXFR81DyQ389zShILrYUk66cgZKn+5tIqz p5/Jjfud/sNtr5B/BXlrUCJCdTt6PsB8L6AqKsiz+goFPIrzUEtVQvonG5I1H+lKmKpq jw5LH2ppTkDTgBFa/mKIklT+4gokCwxYA3dck=
I want to know if there is a way to encrypt aspectj annotations(in
load time weaving).
for example get the value of the annotation and encrypt it then decrypt the
encrypted value at runtime.
the purpose is to hide the annotation when my annotated class is
decompiled in order to
don't know what kind of classes are used in this annotation.
I'm thinking about encryption of the annotation value using encryption
algorithm e.g :RSA but i don't know if there is a way to decrypt this
value at runtime.
I think that we can use java obfuscator (like proguard) in case we
need to keep the
annotations but we can't both keep and hide annotaions value.
I know that this question is not aspectj specific but needs runtime
access to annotations.
any idea ?
how aspectj use annotations at runtime ?
thanks in advance ;