FMIceLinkEcdsaKey Class Reference
| Inherits from | FMIceLinkAsymmetricKey : NSObject | 
|---|---|
| Declared in | FMIceLinkEcdsaKey.h FMIceLinkEcdsaKey.m  | 
– getBytes
	
Serializes this key to binary.
			- (NSMutableData *)getBytesDiscussion
Serializes this key to binary.
			Declared In
FMIceLinkEcdsaKey.h
– getString
	
Serializes this key to a string.
			- (NSString *)getStringDiscussion
Serializes this key to a string.
			Declared In
FMIceLinkEcdsaKey.h
– hasPrivate
	
Returns 
			true if the key contains
private information.
- (bool)hasPrivateDiscussion
Returns 
			true if the key contains
private information.
Declared In
FMIceLinkEcdsaKey.h
– hasPublic
	
Returns 
			true if the key contains
public information.
- (bool)hasPublicDiscussion
Returns 
			true if the key contains
public information.
Declared In
FMIceLinkEcdsaKey.h
– namedCurve
	
Gets the named curve.
			- (FMIceLinkEcdsaNamedCurve)namedCurveDiscussion
Gets the named curve.
			Declared In
FMIceLinkEcdsaKey.h
+ parseBuffer:isPrivate:
	
Deserializes a key from binary.
			+ (FMIceLinkEcdsaKey *)parseBuffer:(FMIceLinkDataBuffer *)buffer isPrivate:(bool)isPrivateParameters
buffer | 
						The buffer.  | 
					
|---|---|
isPrivate | 
						Whether this is a public key. @return  | 
					
Discussion
Deserializes a key from binary.
			Declared In
FMIceLinkEcdsaKey.h
+ parseBytes:isPrivate:
	
Deserializes a key from binary.
			+ (FMIceLinkEcdsaKey *)parseBytes:(NSMutableData *)bytes isPrivate:(bool)isPrivateParameters
bytes | 
						The bytes.  | 
					
|---|---|
isPrivate | 
						Whether this is a public key. @return  | 
					
Discussion
Deserializes a key from binary.
			Declared In
FMIceLinkEcdsaKey.h
+ parseSignature:r:s:
	
Parses a signature.
			+ (bool)parseSignature:(NSMutableData *)signature r:(NSMutableData **)r s:(NSMutableData **)sParameters
signature | 
						The signature.  | 
					
|---|---|
r | 
						The R value.  | 
					
s | 
						The S value. @return  | 
					
Discussion
Parses a signature.
			Declared In
FMIceLinkEcdsaKey.h
+ parseStringWithStr:
	
Deserializes a key from a string.
			+ (FMIceLinkEcdsaKey *)parseStringWithStr:(NSString *)strParameters
str | 
						The string. @return  | 
					
|---|
Discussion
Deserializes a key from a string.
			Declared In
FMIceLinkEcdsaKey.h
– privateKey
	
Gets the private key.
			- (NSMutableData *)privateKeyDiscussion
Gets the private key.
			Declared In
FMIceLinkEcdsaKey.h
– publicKey
	
Gets the public key.
			- (NSMutableData *)publicKeyDiscussion
Gets the public key.
			Declared In
FMIceLinkEcdsaKey.h
– setNamedCurve:
	
Sets the named curve.
			- (void)setNamedCurve:(FMIceLinkEcdsaNamedCurve)valueDiscussion
Sets the named curve.
			Declared In
FMIceLinkEcdsaKey.h
– setPrivateKey:
	
Sets the private key.
			- (void)setPrivateKey:(NSMutableData *)valueDiscussion
Sets the private key.
			Declared In
FMIceLinkEcdsaKey.h
– setPublicKey:
	
Sets the public key.
			- (void)setPublicKey:(NSMutableData *)valueDiscussion
Sets the public key.
			Declared In
FMIceLinkEcdsaKey.h
– size
	
Gets the size of the key.
			- (int)sizeDiscussion
Gets the size of the key.
			Declared In
FMIceLinkEcdsaKey.h
– toPublic
	
Creates a copy of this key without the private key.
@return
- (FMIceLinkEcdsaKey *)toPublicDiscussion
Creates a copy of this key without the private key.
@return
Declared In
FMIceLinkEcdsaKey.h
– type
	
Gets the key type.
			- (FMIceLinkAsymmetricKeyType)typeDiscussion
Gets the key type.
			Declared In
FMIceLinkEcdsaKey.h