MOBFRSAKey.h 513 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // MOBFRSAKey.h
  3. // MOBFoundation
  4. //
  5. // Created by fenghj on 15/7/29.
  6. // Copyright (c) 2015年 MOB. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @class MOBFBigInteger;
  10. @interface MOBFRSAKey : NSObject
  11. /**
  12. * bits in key
  13. */
  14. @property (nonatomic) int bits;
  15. /**
  16. * modulus
  17. */
  18. @property (nonatomic, strong) MOBFBigInteger *n;
  19. /**
  20. * public exponent
  21. */
  22. @property (nonatomic, strong) MOBFBigInteger *e;
  23. /**
  24. * private exponent
  25. */
  26. @property (nonatomic, strong) MOBFBigInteger *d;
  27. @end