An asymmetric key. More...
Instance Methods | |
(bool) | - hasPrivate |
Returns true if the key contains private information. More... | |
(bool) | - hasPublic |
Returns true if the key contains public information. More... | |
(instancetype) | - init |
(FMLiveSwitchAsymmetricKeyType) | - type |
Gets the key type. More... | |
Class Methods | |
(FMLiveSwitchAsymmetricKey *) | + asymmetricKey |
(FMLiveSwitchAsymmetricKey *) | + createKeyWithKeyType: |
Creates a key. More... | |
An asymmetric key.
+ (FMLiveSwitchAsymmetricKey*) asymmetricKey |
+ (FMLiveSwitchAsymmetricKey*) createKeyWithKeyType: | (FMLiveSwitchAsymmetricKeyType) | keyType |
Creates a key.
keyType | The key type. |
- (bool) hasPrivate |
Returns true
if the key contains private information.
Implemented in FMLiveSwitchRsaKey, and FMLiveSwitchEcdsaKey.
- (bool) hasPublic |
Returns true
if the key contains public information.
Implemented in FMLiveSwitchRsaKey, and FMLiveSwitchEcdsaKey.
- (instancetype) init |
Implemented in FMLiveSwitchRsaKey, and FMLiveSwitchEcdsaKey.
- (FMLiveSwitchAsymmetricKeyType) type |
Gets the key type.
Implemented in FMLiveSwitchRsaKey, and FMLiveSwitchEcdsaKey.