FMIceLinkDtlsCertificate Class Reference

Inherits from FMIceLinkCertificate : NSObject
Conforms to *
FMIceLinkDtlsCertificate
FMIceLinkDtlsFingerprint
Declared in FMIceLinkDtlsCertificate.h
FMIceLinkDtlsCertificate.m

Overview

A certificate to be used for DTLS communication.

– createCertificate

Creates the certificate.

@return

- (FMIceLinkDtlsCertificate *)createCertificate

Discussion

Creates the certificate.

@return

Declared In

FMIceLinkDtlsCertificate.h

– createFingerprintWithAlgorithm:value:

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

Parameters

algorithm

The algorithm.

value

The value. @return

Discussion

Creates a fingerprint.

Declared In

FMIceLinkDtlsCertificate.h

+ defaultKeyType

Gets the default asymmetric key type (ECDSA).
+ (FMIceLinkAsymmetricKeyType)defaultKeyType

Discussion

Gets the default asymmetric key type (ECDSA).

Declared In

FMIceLinkDtlsCertificate.h

+ generateCertificate

Generates a certificate with a default issuer/subject name and an expiration date of 10 days from now.
+ (FMIceLinkDtlsCertificate *)generateCertificate

Discussion

Generates a certificate with a default issuer/subject name and an expiration date of 10 days from now.

Declared In

FMIceLinkDtlsCertificate.h

+ generateCertificateFromOldCertificate:

Generates a certificate using the issuer/subject name from an old certificate and an expiration date of 10 days from now.
+ (FMIceLinkDtlsCertificate *)generateCertificateFromOldCertificate:(FMIceLinkDtlsCertificate *)oldCertificate

Parameters

oldCertificate

The old certificate.

Discussion

Generates a certificate using the issuer/subject name from an old certificate and an expiration date of 10 days from now.

Declared In

FMIceLinkDtlsCertificate.h

+ generateCertificateFromOldCertificate:expirationDate:

Generates a certificate using the issuer/subject name from an old certificate and the given expiration date.
+ (FMIceLinkDtlsCertificate *)generateCertificateFromOldCertificate:(FMIceLinkDtlsCertificate *)oldCertificate expirationDate:(NSDate *)expirationDate

Parameters

oldCertificate

The old certificate.

expirationDate

The expiration date.

Discussion

Generates a certificate using the issuer/subject name from an old certificate and the given expiration date.

Declared In

FMIceLinkDtlsCertificate.h

+ generateCertificateWithIssuerName:subjectName:

Generates a certificate with the given issuer name, subject name, and an expiration date of 10 days from now.
+ (FMIceLinkDtlsCertificate *)generateCertificateWithIssuerName:(NSString *)issuerName subjectName:(NSString *)subjectName

Parameters

issuerName

The name of the issuer.

subjectName

The name of the subject.

Discussion

Generates a certificate with the given issuer name, subject name, and an expiration date of 10 days from now.

Declared In

FMIceLinkDtlsCertificate.h

+ generateCertificateWithIssuerName:subjectName:expirationDate:

Generates a certificate with the given issuer name, subject name, and expiration date.
+ (FMIceLinkDtlsCertificate *)generateCertificateWithIssuerName:(NSString *)issuerName subjectName:(NSString *)subjectName expirationDate:(NSDate *)expirationDate

Parameters

issuerName

The name of the issuer.

subjectName

The name of the subject.

expirationDate

The expiration date.

Discussion

Generates a certificate with the given issuer name, subject name, and expiration date.

Declared In

FMIceLinkDtlsCertificate.h

+ generateCertificateWithIssuerName:subjectName:expirationDate:key:

Generates a certificate with the given issuer name, subject name, expiration date, and asymmetric key.
+ (FMIceLinkDtlsCertificate *)generateCertificateWithIssuerName:(NSString *)issuerName subjectName:(NSString *)subjectName expirationDate:(NSDate *)expirationDate key:(FMIceLinkAsymmetricKey *)key

Parameters

issuerName

The name of the issuer.

subjectName

The name of the subject.

expirationDate

The expiration date.

key

The asymmetric key (with public and private details).

Discussion

Generates a certificate with the given issuer name, subject name, expiration date, and asymmetric key.

Declared In

FMIceLinkDtlsCertificate.h

+ generateCertificateWithIssuerName:subjectName:expirationDate:keyType:

Generates a certificate with the given issuer name, subject name, expiration date, and asymmetric key.
+ (FMIceLinkDtlsCertificate *)generateCertificateWithIssuerName:(NSString *)issuerName subjectName:(NSString *)subjectName expirationDate:(NSDate *)expirationDate keyType:(FMIceLinkAsymmetricKeyType)keyType

Parameters

issuerName

The name of the issuer.

subjectName

The name of the subject.

expirationDate

The expiration date.

keyType

The asymmetric key type.

Discussion

Generates a certificate with the given issuer name, subject name, expiration date, and asymmetric key.

Declared In

FMIceLinkDtlsCertificate.h

+ generateCertificateWithIssuerName:subjectName:key:

Generates a certificate with the given issuer name, subject name, and an expiration date of 10 days from now.
+ (FMIceLinkDtlsCertificate *)generateCertificateWithIssuerName:(NSString *)issuerName subjectName:(NSString *)subjectName key:(FMIceLinkAsymmetricKey *)key

Parameters

issuerName

The name of the issuer.

subjectName

The name of the subject.

key

The asymmetric key (with public and private details).

Discussion

Generates a certificate with the given issuer name, subject name, and an expiration date of 10 days from now.

Declared In

FMIceLinkDtlsCertificate.h

+ generateCertificateWithIssuerName:subjectName:keyType:

Generates a certificate with the given issuer name, subject name, and an expiration date of 10 days from now.
+ (FMIceLinkDtlsCertificate *)generateCertificateWithIssuerName:(NSString *)issuerName subjectName:(NSString *)subjectName keyType:(FMIceLinkAsymmetricKeyType)keyType

Parameters

issuerName

The name of the issuer.

subjectName

The name of the subject.

keyType

The asymmetric key type.

Discussion

Generates a certificate with the given issuer name, subject name, and an expiration date of 10 days from now.

Declared In

FMIceLinkDtlsCertificate.h

+ generateCertificateWithKey:

Generates a certificate with a default issuer/subject name and an expiration date of 10 days from now.
+ (FMIceLinkDtlsCertificate *)generateCertificateWithKey:(FMIceLinkAsymmetricKey *)key

Parameters

key

The asymmetric key (with public and private details).

Discussion

Generates a certificate with a default issuer/subject name and an expiration date of 10 days from now.

Declared In

FMIceLinkDtlsCertificate.h

+ generateCertificateWithKeyType:

Generates a certificate with a default issuer/subject name and an expiration date of 10 days from now.
+ (FMIceLinkDtlsCertificate *)generateCertificateWithKeyType:(FMIceLinkAsymmetricKeyType)keyType

Parameters

keyType

The asymmetric key type.

Discussion

Generates a certificate with a default issuer/subject name and an expiration date of 10 days from now.

Declared In

FMIceLinkDtlsCertificate.h

+ generateCertificateWithName:

Generates a certificate with the given issuer/subject name and an expiration date of 10 days from now.
+ (FMIceLinkDtlsCertificate *)generateCertificateWithName:(NSString *)name

Parameters

name

The name of the issuer/subject.

Discussion

Generates a certificate with the given issuer/subject name and an expiration date of 10 days from now.

Declared In

FMIceLinkDtlsCertificate.h

+ generateCertificateWithName:key:

Generates a certificate with the given issuer/subject name and an expiration date of 10 days from now.
+ (FMIceLinkDtlsCertificate *)generateCertificateWithName:(NSString *)name key:(FMIceLinkAsymmetricKey *)key

Parameters

name

The name of the issuer/subject.

key

The asymmetric key (with public and private details).

Discussion

Generates a certificate with the given issuer/subject name and an expiration date of 10 days from now.

Declared In

FMIceLinkDtlsCertificate.h

+ generateCertificateWithName:keyType:

Generates a certificate with the given issuer/subject name and an expiration date of 10 days from now.
+ (FMIceLinkDtlsCertificate *)generateCertificateWithName:(NSString *)name keyType:(FMIceLinkAsymmetricKeyType)keyType

Parameters

name

The name of the issuer/subject.

keyType

The asymmetric key type.

Discussion

Generates a certificate with the given issuer/subject name and an expiration date of 10 days from now.

Declared In

FMIceLinkDtlsCertificate.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

+ parseBytes:

Deserializes a certificate from binary.
+ (FMIceLinkDtlsCertificate *)parseBytes:(NSMutableData *)bytes

Parameters

bytes

The bytes.

Discussion

Deserializes a certificate from binary.

Declared In

FMIceLinkDtlsCertificate.h

+ setDefaultKeyType:

Sets the default asymmetric key type (ECDSA).
+ (void)setDefaultKeyType:(FMIceLinkAsymmetricKeyType)value

Discussion

Sets the default asymmetric key type (ECDSA).

Declared In

FMIceLinkDtlsCertificate.h