CatCryptoResult

public struct CatCryptoResult

Base result class for encrypt, decrypt, hash or verify.

  • raw

    Raw object.

    Declaration

    Swift

    public var raw: Any?
  • Process to bool value.

    Declaration

    Swift

    public func boolValue() -> Bool

    Return Value

    Bool value.

  • Process to string value.

    Declaration

    Swift

    public func stringValue() -> String

    Return Value

    String value.

  • Process to hexadecimal string value.

    Declaration

    Swift

    public func hexStringValue() -> String

    Return Value

    Hexadecimal string value.

  • Process to base64 string value.

    Declaration

    Swift

    public func base64StringValue() -> String

    Return Value

    Base64 string value.

  • Error for result.

    Declaration

    Swift

    public var error: CatCryptoError?