     //
     
     ///
-    /// :returns: Public key in X.509 format
+    /// - returns: Public key in X.509 format
     ///
     public func publicKeyDataX509() -> NSData? {
         if let keyData = obtainKeyData(.Public) {

    /// Shorthand for creating an instance with both public and private key, where the tag
    /// for private key is automatically generated
    ///
    /// :returns: Heimdall instance that can handle both private and public key operations
    ///
    public convenience init?(tagPrefix: String, keySize: Int = 2048) {
        self.init(publicTag: tagPrefix, privateTag: tagPrefix + ".private")

    ///
    /// Generate a signature for an arbitrary message
    ///
    /// - parameters:
    ///     - string: Message to generate the signature for
    ///     - urlEncode: True if the resulting Base64 data should be URL encoded
    ///
    /// - returns: Signature as a Base64 string
    ///
    public func sign(string: String, urlEncode: Bool = false) -> String? {
        if let data = string.dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false), signatureData = self.sign(data) {
