FMIceLinkRsaKey Class Reference

Inherits from FMIceLinkAsymmetricKey : NSObject
Declared in FMIceLinkRsaKey.h
FMIceLinkRsaKey.m

Overview

An RSA key.

– coefficient

Gets the private value inverse-Q.
- (NSMutableData *)coefficient

Discussion

Gets the private value inverse-Q.

Declared In

FMIceLinkRsaKey.h

– exponent1

Gets the private value DP.
- (NSMutableData *)exponent1

Discussion

Gets the private value DP.

Declared In

FMIceLinkRsaKey.h

– exponent2

Gets the private value DQ.
- (NSMutableData *)exponent2

Discussion

Gets the private value DQ.

Declared In

FMIceLinkRsaKey.h

– getBytes

Serializes this key to binary.
- (NSMutableData *)getBytes

Discussion

Serializes this key to binary.

Declared In

FMIceLinkRsaKey.h

– hasPrivate

Returns true if the key contains private information.
- (bool)hasPrivate

Discussion

Returns true if the key contains private information.

Declared In

FMIceLinkRsaKey.h

– hasPublic

Returns true if the key contains public information.
- (bool)hasPublic

Discussion

Returns true if the key contains public information.

Declared In

FMIceLinkRsaKey.h

– modulus

Gets the public value N.
- (NSMutableData *)modulus

Discussion

Gets the public value N.

Declared In

FMIceLinkRsaKey.h

+ parseBuffer:

Deserializes a key from binary.
+ (FMIceLinkRsaKey *)parseBuffer:(FMIceLinkDataBuffer *)buffer

Parameters

buffer

The buffer. @return

Discussion

Deserializes a key from binary.

Declared In

FMIceLinkRsaKey.h

+ parseBytes:

Deserializes a key from binary.
+ (FMIceLinkRsaKey *)parseBytes:(NSMutableData *)bytes

Parameters

bytes

The bytes.

Discussion

Deserializes a key from binary.

Declared In

FMIceLinkRsaKey.h

– prime1

Gets the private value P.
- (NSMutableData *)prime1

Discussion

Gets the private value P.

Declared In

FMIceLinkRsaKey.h

– prime2

Gets the private value Q.
- (NSMutableData *)prime2

Discussion

Gets the private value Q.

Declared In

FMIceLinkRsaKey.h

– privateExponent

Gets the private value D.
- (NSMutableData *)privateExponent

Discussion

Gets the private value D.

Declared In

FMIceLinkRsaKey.h

– publicExponent

Gets the public value E.
- (NSMutableData *)publicExponent

Discussion

Gets the public value E.

Declared In

FMIceLinkRsaKey.h

– setCoefficient:

Sets the private value inverse-Q.
- (void)setCoefficient:(NSMutableData *)value

Discussion

Sets the private value inverse-Q.

Declared In

FMIceLinkRsaKey.h

– setExponent1:

Sets the private value DP.
- (void)setExponent1:(NSMutableData *)value

Discussion

Sets the private value DP.

Declared In

FMIceLinkRsaKey.h

– setExponent2:

Sets the private value DQ.
- (void)setExponent2:(NSMutableData *)value

Discussion

Sets the private value DQ.

Declared In

FMIceLinkRsaKey.h

– setModulus:

Sets the public value N.
- (void)setModulus:(NSMutableData *)value

Discussion

Sets the public value N.

Declared In

FMIceLinkRsaKey.h

– setPrime1:

Sets the private value P.
- (void)setPrime1:(NSMutableData *)value

Discussion

Sets the private value P.

Declared In

FMIceLinkRsaKey.h

– setPrime2:

Sets the private value Q.
- (void)setPrime2:(NSMutableData *)value

Discussion

Sets the private value Q.

Declared In

FMIceLinkRsaKey.h

– setPrivateExponent:

Sets the private value D.
- (void)setPrivateExponent:(NSMutableData *)value

Discussion

Sets the private value D.

Declared In

FMIceLinkRsaKey.h

– setPublicExponent:

Sets the public value E.
- (void)setPublicExponent:(NSMutableData *)value

Discussion

Sets the public value E.

Declared In

FMIceLinkRsaKey.h

– size

Gets the size of the key.
- (int)size

Discussion

Gets the size of the key.

Declared In

FMIceLinkRsaKey.h

– type

Gets the key type.
- (FMIceLinkAsymmetricKeyType)type

Discussion

Gets the key type.

Declared In

FMIceLinkRsaKey.h