You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
513 B
36 lines
513 B
1 year ago
|
//
|
||
|
// MOBFRSAKey.h
|
||
|
// MOBFoundation
|
||
|
//
|
||
|
// Created by fenghj on 15/7/29.
|
||
|
// Copyright (c) 2015年 MOB. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <Foundation/Foundation.h>
|
||
|
|
||
|
@class MOBFBigInteger;
|
||
|
|
||
|
@interface MOBFRSAKey : NSObject
|
||
|
|
||
|
/**
|
||
|
* bits in key
|
||
|
*/
|
||
|
@property (nonatomic) int bits;
|
||
|
|
||
|
/**
|
||
|
* modulus
|
||
|
*/
|
||
|
@property (nonatomic, strong) MOBFBigInteger *n;
|
||
|
|
||
|
/**
|
||
|
* public exponent
|
||
|
*/
|
||
|
@property (nonatomic, strong) MOBFBigInteger *e;
|
||
|
|
||
|
/**
|
||
|
* private exponent
|
||
|
*/
|
||
|
@property (nonatomic, strong) MOBFBigInteger *d;
|
||
|
|
||
|
@end
|