FMIceLinkCertificate Class Reference

Inherits from NSObject
Conforms to TCertificate
TFingerprint
__covariant
Declared in FMIceLinkCertificate.h
FMIceLinkCertificate.m

Overview

A [certificate](#//api/name/certificate) to be used for secure communication.

– autoRegenerate

Gets whether the certificate's cryptography data should be automatically regenerated when it is about to expire. Defaults to true.
- (bool)autoRegenerate

Discussion

Gets whether the certificate's cryptography data should be automatically regenerated when it is about to expire. Defaults to true.

Declared In

FMIceLinkCertificate.h

– calculateFingerprintWithAlgorithm:

Calculates a fingerprint for this [certificate](#//api/name/certificate).
- (TFingerprint)calculateFingerprintWithAlgorithm:(NSString *)algorithm

Parameters

algorithm

The algorithm.

Discussion

Calculates a fingerprint for this [certificate](#//api/name/certificate).

Declared In

FMIceLinkCertificate.h

+ certificate

Initializes a new instance of the FMIceLinkCertificate`2 class.
+ (FMIceLinkCertificate *)certificate

Discussion

Initializes a new instance of the FMIceLinkCertificate`2 class.

Declared In

FMIceLinkCertificate.h

– clone

Clones this instance.
- (TCertificate)clone

Discussion

Clones this instance.

Declared In

FMIceLinkCertificate.h

– createCertificate

Creates a [certificate](#//api/name/certificate).

@return

- (TCertificate)createCertificate

Discussion

Creates a [certificate](#//api/name/certificate).

@return

Declared In

FMIceLinkCertificate.h

– createFingerprintWithAlgorithm:value:

Creates a fingerprint.
- (TFingerprint)createFingerprintWithAlgorithm:(NSString *)algorithm value:(NSString *)value

Parameters

algorithm

The algorithm.

value

The value. @return

Discussion

Creates a fingerprint.

Declared In

FMIceLinkCertificate.h

– effectiveDate

Gets the effective date.
- (NSDate *)effectiveDate

Discussion

Gets the effective date.

Declared In

FMIceLinkCertificate.h

– expirationDate

Gets the expiration date.
- (NSDate *)expirationDate

Discussion

Gets the expiration date.

Declared In

FMIceLinkCertificate.h

– getBuffer

Serializes this [certificate](#//api/name/certificate) to binary.
- (FMIceLinkDataBuffer *)getBuffer

Discussion

Serializes this [certificate](#//api/name/certificate) to binary.

Declared In

FMIceLinkCertificate.h

– getBytes

Serializes this [certificate](#//api/name/certificate) to binary.
- (NSMutableData *)getBytes

Discussion

Serializes this [certificate](#//api/name/certificate) to binary.

Declared In

FMIceLinkCertificate.h

– id

Gets the identifier.
- (NSString *)id

Discussion

Gets the identifier.

Declared In

FMIceLinkCertificate.h

– init

Initializes a new instance of the FMIceLinkCertificate`2 class.
- (instancetype)init

Discussion

Initializes a new instance of the FMIceLinkCertificate`2 class.

Declared In

FMIceLinkCertificate.h

– isExpired

Gets whether the [certificate](#//api/name/certificate) is expired.
- (bool)isExpired

Discussion

Gets whether the [certificate](#//api/name/certificate) is expired.

Declared In

FMIceLinkCertificate.h

– isExpiring

Gets whether the [certificate](#//api/name/certificate) is expiring within 24 hours.
- (bool)isExpiring

Discussion

Gets whether the [certificate](#//api/name/certificate) is expiring within 24 hours.

Declared In

FMIceLinkCertificate.h

– issuerName

Gets the name of the issuer.
- (NSString *)issuerName

Discussion

Gets the name of the issuer.

Declared In

FMIceLinkCertificate.h

– key

Gets the asymmetric key.
- (FMIceLinkAsymmetricKey *)key

Discussion

Gets the asymmetric key.

Declared In

FMIceLinkCertificate.h

– regenerate

Regenerates the certificate's cryptography data using an expiration date of 10 days from now.
- (void)regenerate

Discussion

Regenerates the certificate's cryptography data using an expiration date of 10 days from now.

Declared In

FMIceLinkCertificate.h

– regenerateWithExpirationDate:

Regenerates the certificate's cryptography data using the given expiration date.
- (void)regenerateWithExpirationDate:(NSDate *)expirationDate

Parameters

expirationDate

The expiration date.

Discussion

Regenerates the certificate's cryptography data using the given expiration date.

Declared In

FMIceLinkCertificate.h

– setAutoRegenerate:

Sets whether the certificate's cryptography data should be automatically regenerated when it is about to expire. Defaults to true.
- (void)setAutoRegenerate:(bool)value

Discussion

Sets whether the certificate's cryptography data should be automatically regenerated when it is about to expire. Defaults to true.

Declared In

FMIceLinkCertificate.h

– setId:

Sets the identifier.
- (void)setId:(NSString *)value

Discussion

Sets the identifier.

Declared In

FMIceLinkCertificate.h

– setKey:

Sets the asymmetric [key](#//api/name/key).
- (void)setKey:(FMIceLinkAsymmetricKey *)value

Discussion

Sets the asymmetric [key](#//api/name/key).

Declared In

FMIceLinkCertificate.h

– subjectName

Gets the name of the subject.
- (NSString *)subjectName

Discussion

Gets the name of the subject.

Declared In

FMIceLinkCertificate.h