generateCert (method)
Generates a new certificate on the KMIP server.
Syntax
- (NSString*)generateCert:(NSString*)publicKeyUniqueIdentifier :(NSString*)keyAlgorithm :(NSString*)hashAlgorithm :(int)keyLength :(NSString*)subjectRDN :(NSString*)id;
public func generateCert(_ publicKeyUniqueIdentifier: String, _ keyAlgorithm: String, _ hashAlgorithm: String, _ keyLength: Int32, _ subjectRDN: String, _ id: String) throws -> String
Remarks
Use KeyAlgorithm, HashAlgorithm, and KeyLength to specify the desired algorithms and key length. SubjectRDN should identify the new certificate's owner.
Use the Id parameter to suggest a unique identifier for the certificate object. The method returns the actual Id assigned to the new certificate (it may differ from the one you supplied).