diff --git a/Package.swift b/Package.swift
old mode 100755
new mode 100644
index 1f78dc5..43474ca
--- a/Package.swift
+++ b/Package.swift
@@ -1,4 +1,4 @@
-// swift-tools-version:5.1
+// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
@@ -6,19 +6,19 @@ import PackageDescription
let package = Package(
name: "SwiftECC",
products: [
- // Products define the executables and libraries produced by a package, and make them visible to other packages.
+ // Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "SwiftECC",
targets: ["SwiftECC"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
- .package(url: "https://github.com/leif-ibsen/ASN1", from: "1.2.1"),
+ .package(url: "https://github.com/leif-ibsen/ASN1", from: "2.0.0"),
.package(url: "https://github.com/leif-ibsen/BigInt", from: "1.2.5"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
- // Targets can depend on other targets in this package, and on products in packages which this package depends on.
+ // Targets can depend on other targets in this package, and on products in packages this package depends on.
.target(
name: "SwiftECC",
dependencies: ["ASN1", "BigInt"]),
diff --git a/README.md b/README.md
index aef66a0..73df9ba 100755
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ SwiftECC requires Swift 5.0. It also requires that the Int and UInt types be 64
In your project Package.swift file add a dependency like
dependencies: [
- .package(url: "https://github.com/leif-ibsen/SwiftECC", from: "1.1.0"),
+ .package(url: "https://github.com/leif-ibsen/SwiftECC", from: "2.0.0"),
]
Instance Methods
-
-
- double(_:)
-
- Doubles a curve Point - DEPRECATED, use doublePoint instead
-Precondition
- self contains p - -
-
- p
-
- |
-
-
-
- A curve point - |
-
p + p
-
@@ -1128,74 +1072,6 @@ Return Value
-
-
- add(_:_:)
-
- Adds two curve Points - DEPRECATED, use addPoints instead
-Precondition
- self contains p1 and self contains p2 - -
-
- p1
-
- |
-
-
-
- The first curve point - |
-
-
- p2
-
- |
-
-
-
- The second curve point - |
-
p1 + p2
-
@@ -1263,74 +1139,6 @@ Return Value
-
-
- subtract(_:_:)
-
- Subtracts two curve Points - DEPRECATED, use subtractPoints instead
-Precondition
- self contains p1 and self contains p2 - -
-
- p1
-
- |
-
-
-
- The first curve point - |
-
-
- p2
-
- |
-
-
-
- The second curve point - |
-
p1 - p2
-
@@ -1398,62 +1206,6 @@ Return Value
-
-
- negate(_:)
-
- Negates a curve Point - DEPRECATED, use negatePoint instead
-Precondition
- self contains p - -
-
- p
-
- |
-
-
-
- A curve point - |
-
-p
-
@@ -1509,74 +1261,6 @@ Return Value
-
-
- multiply(_:_:)
-
- Multiplies a curve Point by an integer - DEPRECATED, use multiplyPoint instead
-Precondition
- self contains p - -
-
- p
-
- |
-
-
-
- The curve point to multiply - |
-
-
- n
-
- |
-
-
-
- The integer to multiply with - |
-
n * p
-
@@ -2061,7 +1745,7 @@ Return Value
diff --git a/docs/Classes/ECPrivateKey.html b/docs/Classes/ECPrivateKey.html
index 5ef9bde..2422cec 100644
--- a/docs/Classes/ECPrivateKey.html
+++ b/docs/Classes/ECPrivateKey.html
@@ -748,7 +748,7 @@ Return Value
diff --git a/docs/Classes/ECPublicKey.html b/docs/Classes/ECPublicKey.html
index 8f62f87..db6d46b 100644
--- a/docs/Classes/ECPublicKey.html
+++ b/docs/Classes/ECPublicKey.html
@@ -762,7 +762,7 @@ Return Value
diff --git a/docs/Classes/ECSignature.html b/docs/Classes/ECSignature.html
index 44c89ee..5b41434 100644
--- a/docs/Classes/ECSignature.html
+++ b/docs/Classes/ECSignature.html
@@ -382,7 +382,7 @@ Declaration
diff --git a/docs/Enums.html b/docs/Enums.html
index 7c9583c..e487450 100644
--- a/docs/Enums.html
+++ b/docs/Enums.html
@@ -223,7 +223,7 @@ Declaration
diff --git a/docs/Enums/AESCipher.html b/docs/Enums/AESCipher.html
index 692b447..614a9d1 100644
--- a/docs/Enums/AESCipher.html
+++ b/docs/Enums/AESCipher.html
@@ -199,7 +199,7 @@ Declaration
diff --git a/docs/Enums/BlockMode.html b/docs/Enums/BlockMode.html
index 41b201e..e6555bd 100644
--- a/docs/Enums/BlockMode.html
+++ b/docs/Enums/BlockMode.html
@@ -280,7 +280,7 @@ Declaration
diff --git a/docs/Enums/ECCurve.html b/docs/Enums/ECCurve.html
index d76bbf1..8f083a8 100644
--- a/docs/Enums/ECCurve.html
+++ b/docs/Enums/ECCurve.html
@@ -982,7 +982,7 @@ Declaration
diff --git a/docs/Enums/ECException.html b/docs/Enums/ECException.html
index 0611fca..f09c544 100644
--- a/docs/Enums/ECException.html
+++ b/docs/Enums/ECException.html
@@ -496,7 +496,7 @@ Declaration
diff --git a/docs/Structs.html b/docs/Structs.html
index 407ada0..0fd2da3 100644
--- a/docs/Structs.html
+++ b/docs/Structs.html
@@ -203,7 +203,7 @@ Declaration
diff --git a/docs/Structs/Base64.html b/docs/Structs/Base64.html
index 44fa60b..dcf60e2 100644
--- a/docs/Structs/Base64.html
+++ b/docs/Structs/Base64.html
@@ -362,7 +362,7 @@ Return Value
diff --git a/docs/Structs/Point.html b/docs/Structs/Point.html
index 532145e..996a2f8 100644
--- a/docs/Structs/Point.html
+++ b/docs/Structs/Point.html
@@ -439,7 +439,7 @@ Return Value
diff --git a/docs/Structs/RP.html b/docs/Structs/RP.html
index 67780cc..850196d 100644
--- a/docs/Structs/RP.html
+++ b/docs/Structs/RP.html
@@ -532,7 +532,7 @@ Return Value
diff --git a/docs/Typealiases.html b/docs/Typealiases.html
index 7a19683..8f32067 100644
--- a/docs/Typealiases.html
+++ b/docs/Typealiases.html
@@ -165,7 +165,7 @@ Declaration
diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes.html
index 45f8423..06ed453 100644
--- a/docs/docsets/.docset/Contents/Resources/Documents/Classes.html
+++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes.html
@@ -224,7 +224,7 @@ Declaration
diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Domain.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Domain.html
index bc1132c..336bf86 100644
--- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/Domain.html
+++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/Domain.html
@@ -1017,62 +1017,6 @@ Instance Methods
-
-
- double(_:)
-
- Doubles a curve Point - DEPRECATED, use doublePoint instead
-Precondition
- self contains p - -
-
- p
-
- |
-
-
-
- A curve point - |
-
p + p
-
@@ -1128,74 +1072,6 @@ Return Value
-
-
- add(_:_:)
-
- Adds two curve Points - DEPRECATED, use addPoints instead
-Precondition
- self contains p1 and self contains p2 - -
-
- p1
-
- |
-
-
-
- The first curve point - |
-
-
- p2
-
- |
-
-
-
- The second curve point - |
-
p1 + p2
-
@@ -1263,74 +1139,6 @@ Return Value
-
-
- subtract(_:_:)
-
- Subtracts two curve Points - DEPRECATED, use subtractPoints instead
-Precondition
- self contains p1 and self contains p2 - -
-
- p1
-
- |
-
-
-
- The first curve point - |
-
-
- p2
-
- |
-
-
-
- The second curve point - |
-
p1 - p2
-
@@ -1398,62 +1206,6 @@ Return Value
-
-
- negate(_:)
-
- Negates a curve Point - DEPRECATED, use negatePoint instead
-Precondition
- self contains p - -
-
- p
-
- |
-
-
-
- A curve point - |
-
-p
-
@@ -1509,74 +1261,6 @@ Return Value
-
-
- multiply(_:_:)
-
- Multiplies a curve Point by an integer - DEPRECATED, use multiplyPoint instead
-Precondition
- self contains p - -
-
- p
-
- |
-
-
-
- The curve point to multiply - |
-
-
- n
-
- |
-
-
-
- The integer to multiply with - |
-
n * p
-
@@ -2061,7 +1745,7 @@ Return Value
diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/ECPrivateKey.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/ECPrivateKey.html
index 5ef9bde..2422cec 100644
--- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/ECPrivateKey.html
+++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/ECPrivateKey.html
@@ -748,7 +748,7 @@ Return Value
diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/ECPublicKey.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/ECPublicKey.html
index 8f62f87..db6d46b 100644
--- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/ECPublicKey.html
+++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/ECPublicKey.html
@@ -762,7 +762,7 @@ Return Value
diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Classes/ECSignature.html b/docs/docsets/.docset/Contents/Resources/Documents/Classes/ECSignature.html
index 44c89ee..5b41434 100644
--- a/docs/docsets/.docset/Contents/Resources/Documents/Classes/ECSignature.html
+++ b/docs/docsets/.docset/Contents/Resources/Documents/Classes/ECSignature.html
@@ -382,7 +382,7 @@ Declaration
diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Enums.html b/docs/docsets/.docset/Contents/Resources/Documents/Enums.html
index 7c9583c..e487450 100644
--- a/docs/docsets/.docset/Contents/Resources/Documents/Enums.html
+++ b/docs/docsets/.docset/Contents/Resources/Documents/Enums.html
@@ -223,7 +223,7 @@ Declaration
diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Enums/AESCipher.html b/docs/docsets/.docset/Contents/Resources/Documents/Enums/AESCipher.html
index 692b447..614a9d1 100644
--- a/docs/docsets/.docset/Contents/Resources/Documents/Enums/AESCipher.html
+++ b/docs/docsets/.docset/Contents/Resources/Documents/Enums/AESCipher.html
@@ -199,7 +199,7 @@ Declaration
diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Enums/BlockMode.html b/docs/docsets/.docset/Contents/Resources/Documents/Enums/BlockMode.html
index 41b201e..e6555bd 100644
--- a/docs/docsets/.docset/Contents/Resources/Documents/Enums/BlockMode.html
+++ b/docs/docsets/.docset/Contents/Resources/Documents/Enums/BlockMode.html
@@ -280,7 +280,7 @@ Declaration
diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Enums/ECCurve.html b/docs/docsets/.docset/Contents/Resources/Documents/Enums/ECCurve.html
index d76bbf1..8f083a8 100644
--- a/docs/docsets/.docset/Contents/Resources/Documents/Enums/ECCurve.html
+++ b/docs/docsets/.docset/Contents/Resources/Documents/Enums/ECCurve.html
@@ -982,7 +982,7 @@ Declaration
diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Enums/ECException.html b/docs/docsets/.docset/Contents/Resources/Documents/Enums/ECException.html
index 0611fca..f09c544 100644
--- a/docs/docsets/.docset/Contents/Resources/Documents/Enums/ECException.html
+++ b/docs/docsets/.docset/Contents/Resources/Documents/Enums/ECException.html
@@ -496,7 +496,7 @@ Declaration
diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Structs.html b/docs/docsets/.docset/Contents/Resources/Documents/Structs.html
index 407ada0..0fd2da3 100644
--- a/docs/docsets/.docset/Contents/Resources/Documents/Structs.html
+++ b/docs/docsets/.docset/Contents/Resources/Documents/Structs.html
@@ -203,7 +203,7 @@ Declaration
diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Structs/Base64.html b/docs/docsets/.docset/Contents/Resources/Documents/Structs/Base64.html
index 44fa60b..dcf60e2 100644
--- a/docs/docsets/.docset/Contents/Resources/Documents/Structs/Base64.html
+++ b/docs/docsets/.docset/Contents/Resources/Documents/Structs/Base64.html
@@ -362,7 +362,7 @@ Return Value
diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Structs/Point.html b/docs/docsets/.docset/Contents/Resources/Documents/Structs/Point.html
index 532145e..996a2f8 100644
--- a/docs/docsets/.docset/Contents/Resources/Documents/Structs/Point.html
+++ b/docs/docsets/.docset/Contents/Resources/Documents/Structs/Point.html
@@ -439,7 +439,7 @@ Return Value
diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Structs/RP.html b/docs/docsets/.docset/Contents/Resources/Documents/Structs/RP.html
index 67780cc..850196d 100644
--- a/docs/docsets/.docset/Contents/Resources/Documents/Structs/RP.html
+++ b/docs/docsets/.docset/Contents/Resources/Documents/Structs/RP.html
@@ -532,7 +532,7 @@ Return Value
diff --git a/docs/docsets/.docset/Contents/Resources/Documents/Typealiases.html b/docs/docsets/.docset/Contents/Resources/Documents/Typealiases.html
index 7a19683..8f32067 100644
--- a/docs/docsets/.docset/Contents/Resources/Documents/Typealiases.html
+++ b/docs/docsets/.docset/Contents/Resources/Documents/Typealiases.html
@@ -165,7 +165,7 @@ Declaration
diff --git a/docs/docsets/.docset/Contents/Resources/Documents/badge.svg b/docs/docsets/.docset/Contents/Resources/Documents/badge.svg
deleted file mode 100644
index a096fec..0000000
--- a/docs/docsets/.docset/Contents/Resources/Documents/badge.svg
+++ /dev/null
@@ -1,28 +0,0 @@
-
diff --git a/docs/docsets/.docset/Contents/Resources/Documents/index.html b/docs/docsets/.docset/Contents/Resources/Documents/index.html
index 4cfec9b..0635a2c 100644
--- a/docs/docsets/.docset/Contents/Resources/Documents/index.html
+++ b/docs/docsets/.docset/Contents/Resources/Documents/index.html
@@ -116,7 +116,7 @@ Usage
In your project Package.swift file add a dependency like
dependencies: [
- .package(url: "https://github.com/leif-ibsen/SwiftECC", from: "1.1.0"),
+ .package(url: "https://github.com/leif-ibsen/SwiftECC", from: "2.0.0"),
]
@@ -467,7 +467,7 @@ Dependencies
The SwiftECC package depends on the ASN1 and BigInt packages
dependencies: [
- .package(url: "https://github.com/leif-ibsen/ASN1", from: "1.2.1"),
+ .package(url: "https://github.com/leif-ibsen/ASN1", from: "2.0.0"),
.package(url: "https://github.com/leif-ibsen/BigInt", from: "1.2.5"),
],
@@ -498,7 +498,7 @@ Acknowledgement
diff --git a/docs/docsets/.docset/Contents/Resources/Documents/search.json b/docs/docsets/.docset/Contents/Resources/Documents/search.json
index 000a3be..a821a47 100644
--- a/docs/docsets/.docset/Contents/Resources/Documents/search.json
+++ b/docs/docsets/.docset/Contents/Resources/Documents/search.json
@@ -1 +1 @@
-{"Typealiases.html#/s:8SwiftECC4Bytea":{"name":"Byte","abstract":"An 8-bit unsigned integer
"},"Typealiases.html#/s:8SwiftECC5Bytesa":{"name":"Bytes","abstract":"An array of 8-bit unsigned integers
"},"Structs/RP.html#/s:8SwiftECC2RPVyACSi_S3itcfc":{"name":"init(_:_:_:_:)","abstract":"Creates a reduction polynomial x^m + x^k3 + x^k2 + x^k1 + 1
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPVyACSi_Sitcfc":{"name":"init(_:_:)","abstract":"Creates a reduction polynomial x^m + x^k1 + 1
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV1mSivp":{"name":"m","abstract":"The m exponent
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV2k3Sivp":{"name":"k3","abstract":"The k3 exponent
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV2k2Sivp":{"name":"k2","abstract":"The k2 exponent
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV2k1Sivp":{"name":"k1","abstract":"The k1 exponent
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV1p6BigInt4BIntVvp":{"name":"p","abstract":"The reduction polynomial as a BInt
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV11descriptionSSvp":{"name":"description","abstract":"Textual description of self
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"Tests equality of reduction polynomials
","parent_name":"RP"},"Structs/Point.html#/s:8SwiftECC5PointV8INFINITYACvpZ":{"name":"INFINITY","abstract":"The point at infinity
","parent_name":"Point"},"Structs/Point.html#/s:8SwiftECC5PointVyAC6BigInt4BIntV_AFtcfc":{"name":"init(_:_:)","abstract":"Creates a Point from its x- and y-coordinates
","parent_name":"Point"},"Structs/Point.html#/s:8SwiftECC5PointV1x6BigInt4BIntVvp":{"name":"x","abstract":"The x coordinate
","parent_name":"Point"},"Structs/Point.html#/s:8SwiftECC5PointV1y6BigInt4BIntVvp":{"name":"y","abstract":"The y coordinate
","parent_name":"Point"},"Structs/Point.html#/s:8SwiftECC5PointV8infinitySbvp":{"name":"infinity","abstract":"Is true iff self is the point at inifinity
","parent_name":"Point"},"Structs/Point.html#/s:8SwiftECC5PointV11descriptionSSvp":{"name":"description","abstract":"Textual description of self
","parent_name":"Point"},"Structs/Point.html#/s:8SwiftECC5PointV2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"Tests equality of Points
","parent_name":"Point"},"Structs/Base64.html#/s:8SwiftECC6Base64V9pemEncodeySSSays5UInt8VG_SStFZ":{"name":"pemEncode(_:_:)","abstract":"PEM encodes a byte array
","parent_name":"Base64"},"Structs/Base64.html#/s:8SwiftECC6Base64V9pemDecodeySays5UInt8VGSS_SStKFZ":{"name":"pemDecode(_:_:)","abstract":"PEM decodes a string
","parent_name":"Base64"},"Structs/Base64.html#/s:8SwiftECC6Base64V6encodeySSSays5UInt8VGFZ":{"name":"encode(_:)","abstract":"Base64 encodes a byte array
","parent_name":"Base64"},"Structs/Base64.html#/s:8SwiftECC6Base64V6decodeySays5UInt8VGSSKFZ":{"name":"decode(_:)","abstract":"Base64 decodes a string
","parent_name":"Base64"},"Structs/Base64.html":{"name":"Base64","abstract":"There is no Base64 instances."},"Structs/Point.html":{"name":"Point","abstract":"
Point instances contain elliptic curve points.
"},"Structs/RP.html":{"name":"RP","abstract":"RP instances contain reduction polynomials like"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO11descriptionSSvp":{"name":"description","abstract":"
Textual description of self
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO13asn1StructureyA2CmF":{"name":"asn1Structure","abstract":"ASN1 has wrong structure
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO14authenticationyA2CmF":{"name":"authentication","abstract":"Authentication failed
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO6base64yA2CmF":{"name":"base64","abstract":"Base64 decoding exception
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO11decodePointyA2CmF":{"name":"decodePoint","abstract":"Invalid input to point decoding
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO15domainParameteryA2CmF":{"name":"domainParameter","abstract":"Either 4 * a^3 + 27 * b^2 = 0 when creating a prime domain or b = 0 when creating a characteristic 2 domain
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO11encodePointyA2CmF":{"name":"encodePoint","abstract":"Point to encode does not lie on the domain curve
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO14notEnoughInputyA2CmF":{"name":"notEnoughInput","abstract":"Not enough input to decrypt
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO7paddingyA2CmF":{"name":"padding","abstract":"Padding is wrong
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO12pemStructureyA2CmF":{"name":"pemStructure","abstract":"PEM structure is wrong
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO19privateKeyParameteryA2CmF":{"name":"privateKeyParameter","abstract":"Invalid parameter to ECPrivateKey constructor
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO18publicKeyParameteryA2CmF":{"name":"publicKeyParameter","abstract":"Invalid parameter to ECPublicKey constructor
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO10unknownOidyA2CmF":{"name":"unknownOid","abstract":"Unknown domain OID
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO10notOnCurveyA2CmF":{"name":"notOnCurve","abstract":"Point not on curve
","parent_name":"ECException"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP160r1yA2CmF":{"name":"BP160r1","abstract":"brainpoolP160r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP160t1yA2CmF":{"name":"BP160t1","abstract":"brainpoolP160t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP192r1yA2CmF":{"name":"BP192r1","abstract":"brainpoolP192r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP192t1yA2CmF":{"name":"BP192t1","abstract":"brainpoolP192t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP224r1yA2CmF":{"name":"BP224r1","abstract":"brainpoolP224r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP224t1yA2CmF":{"name":"BP224t1","abstract":"brainpoolP224t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP256r1yA2CmF":{"name":"BP256r1","abstract":"brainpoolP256r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP256t1yA2CmF":{"name":"BP256t1","abstract":"brainpoolP256t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP320r1yA2CmF":{"name":"BP320r1","abstract":"brainpoolP320r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP320t1yA2CmF":{"name":"BP320t1","abstract":"brainpoolP320t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP384r1yA2CmF":{"name":"BP384r1","abstract":"brainpoolP384r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP384t1yA2CmF":{"name":"BP384t1","abstract":"brainpoolP384t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP512r1yA2CmF":{"name":"BP512r1","abstract":"brainpoolP512r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP512t1yA2CmF":{"name":"BP512t1","abstract":"brainpoolP512t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC163k1yA2CmF":{"name":"EC163k1","abstract":"NIST sect163k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC163r2yA2CmF":{"name":"EC163r2","abstract":"NIST sect163r2 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC192k1yA2CmF":{"name":"EC192k1","abstract":"NIST sect192k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC192r1yA2CmF":{"name":"EC192r1","abstract":"NIST sect192r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC224k1yA2CmF":{"name":"EC224k1","abstract":"NIST sect224k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC224r1yA2CmF":{"name":"EC224r1","abstract":"NIST sect224r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC233k1yA2CmF":{"name":"EC233k1","abstract":"NIST sect233k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC233r1yA2CmF":{"name":"EC233r1","abstract":"NIST sect233r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC256k1yA2CmF":{"name":"EC256k1","abstract":"NIST sect256k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC256r1yA2CmF":{"name":"EC256r1","abstract":"NIST sect256r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC283k1yA2CmF":{"name":"EC283k1","abstract":"NIST sect283k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC283r1yA2CmF":{"name":"EC283r1","abstract":"NIST sect283r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC384r1yA2CmF":{"name":"EC384r1","abstract":"NIST sect384r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC409k1yA2CmF":{"name":"EC409k1","abstract":"NIST sect409k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC409r1yA2CmF":{"name":"EC409r1","abstract":"NIST sect409r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC521r1yA2CmF":{"name":"EC521r1","abstract":"NIST sect521r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC571k1yA2CmF":{"name":"EC571k1","abstract":"NIST sect571k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC571r1yA2CmF":{"name":"EC571r1","abstract":"NIST sect571r1 curve
","parent_name":"ECCurve"},"Enums/BlockMode.html#/s:8SwiftECC9BlockModeO3CBCyA2CmF":{"name":"CBC","abstract":"Cipher Block Chaining mode
","parent_name":"BlockMode"},"Enums/BlockMode.html#/s:8SwiftECC9BlockModeO3CFByA2CmF":{"name":"CFB","abstract":"Cipher Feedback mode
","parent_name":"BlockMode"},"Enums/BlockMode.html#/s:8SwiftECC9BlockModeO3CTRyA2CmF":{"name":"CTR","abstract":"Counter mode
","parent_name":"BlockMode"},"Enums/BlockMode.html#/s:8SwiftECC9BlockModeO3ECByA2CmF":{"name":"ECB","abstract":"Electronic Codebook mode
","parent_name":"BlockMode"},"Enums/BlockMode.html#/s:8SwiftECC9BlockModeO3GCMyA2CmF":{"name":"GCM","abstract":"Galois Counter mode
","parent_name":"BlockMode"},"Enums/BlockMode.html#/s:8SwiftECC9BlockModeO3OFByA2CmF":{"name":"OFB","abstract":"Output Feedback mode
","parent_name":"BlockMode"},"Enums/AESCipher.html#/s:8SwiftECC9AESCipherO6AES128yA2CmF":{"name":"AES128","abstract":"AES 128 bit block cipher
","parent_name":"AESCipher"},"Enums/AESCipher.html#/s:8SwiftECC9AESCipherO6AES192yA2CmF":{"name":"AES192","abstract":"AES 192 bit block cipher
","parent_name":"AESCipher"},"Enums/AESCipher.html#/s:8SwiftECC9AESCipherO6AES256yA2CmF":{"name":"AES256","abstract":"AES 256 bit block cipher
","parent_name":"AESCipher"},"Enums/AESCipher.html":{"name":"AESCipher","abstract":"AES block ciphers available for encryption
"},"Enums/BlockMode.html":{"name":"BlockMode","abstract":"Available block cipher modes
"},"Enums/ECCurve.html":{"name":"ECCurve","abstract":"Built-in elliptic curves
"},"Enums/ECException.html":{"name":"ECException","abstract":"Elliptic curve exceptions
"},"Classes/ECSignature.html#/s:8SwiftECC11ECSignatureC1r1sACSays5UInt8VG_AHtcfc":{"name":"init(r:s:)","abstract":"Creates a signature from its r and s components
","parent_name":"ECSignature"},"Classes/ECSignature.html#/s:8SwiftECC11ECSignatureC4asn16domainAC4ASN1AFC_AA6DomainCtKcfc":{"name":"init(asn1:domain:)","abstract":"Creates a signature from its ASN1 representation
","parent_name":"ECSignature"},"Classes/ECSignature.html#/s:8SwiftECC11ECSignatureC1rSays5UInt8VGvp":{"name":"r","abstract":"The r component of the signature
","parent_name":"ECSignature"},"Classes/ECSignature.html#/s:8SwiftECC11ECSignatureC1sSays5UInt8VGvp":{"name":"s","abstract":"The s component of the signature
","parent_name":"ECSignature"},"Classes/ECSignature.html#/s:8SwiftECC11ECSignatureC4asn14ASN1AECvp":{"name":"asn1","abstract":"The ASN1 encoding of the signature
","parent_name":"ECSignature"},"Classes/ECSignature.html#/s:8SwiftECC11ECSignatureC11descriptionSSvp":{"name":"description","abstract":"Textual description of self
","parent_name":"ECSignature"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC6domain1wAcA6DomainC_AA5PointVtKcfc":{"name":"init(domain:w:)","abstract":"Creates a public key
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC3derACSays5UInt8VG_tKcfc":{"name":"init(der:)","abstract":"Creates a public key from its DER encoding
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC3pemACSS_tKcfc":{"name":"init(pem:)","abstract":"Creates a public key from its PEM encoding
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC6domainAA6DomainCvp":{"name":"domain","abstract":"The domain the key belongs to
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC1wAA5PointVvp":{"name":"w","abstract":"The public value - a curve point
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC4asn14ASN1AECvp":{"name":"asn1","abstract":"The ASN1 encoding of self
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC3pemSSvp":{"name":"pem","abstract":"The PEM encoding of self
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC11descriptionSSvp":{"name":"description","abstract":"A textual representation of the ASN1 encoding of self
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC6verify9signature3msg2bwSbAA11ECSignatureC_Says5UInt8VGSiSgtF":{"name":"verify(signature:msg:bw:)","abstract":"Verifies a signature with ECDSA
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC6verify9signature3msg2bwSbAA11ECSignatureC_10Foundation4DataVSiSgtF":{"name":"verify(signature:msg:bw:)","abstract":"Verifies a signature with ECDSA
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC7encrypt3msg6cipher4modeSays5UInt8VGAJ_AA9AESCipherOAA9BlockModeOtF":{"name":"encrypt(msg:cipher:mode:)","abstract":"Encrypts a byte array with ECIES
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC7encrypt3msg6cipher4mode10Foundation4DataVAJ_AA9AESCipherOAA9BlockModeOtF":{"name":"encrypt(msg:cipher:mode:)","abstract":"Encrypts a Data structure with ECIES
","parent_name":"ECPublicKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC6domain1sAcA6DomainC_6BigInt4BIntVtKcfc":{"name":"init(domain:s:)","abstract":"Creates a private key
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC3derACSays5UInt8VG_tKcfc":{"name":"init(der:)","abstract":"Creates a private key from its DER encoding
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC3pemACSS_tKcfc":{"name":"init(pem:)","abstract":"Creates a private key from its PEM encoding
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC6domainAA6DomainCvp":{"name":"domain","abstract":"The domain the key belongs to
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC1s6BigInt4BIntVvp":{"name":"s","abstract":"The private value - a integer number
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC4asn14ASN1AECvp":{"name":"asn1","abstract":"The ASN1 encoding of self
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC3pemSSvp":{"name":"pem","abstract":"The PEM base 64 encoding of self
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC11descriptionSSvp":{"name":"description","abstract":"A textual representation of the ASN1 encoding of self
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC4sign3msg13deterministicAA11ECSignatureCSays5UInt8VG_SbtF":{"name":"sign(msg:deterministic:)","abstract":"Signs a byte array message with ECDSA
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC4sign3msg13deterministicAA11ECSignatureC10Foundation4DataV_SbtF":{"name":"sign(msg:deterministic:)","abstract":"Signs a Data message with ECDSA
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC7decrypt3msg6cipher4modeSays5UInt8VGAJ_AA9AESCipherOAA9BlockModeOtKF":{"name":"decrypt(msg:cipher:mode:)","abstract":"Decrypts a byte array message with ECIES
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC7decrypt3msg6cipher4mode10Foundation4DataVAJ_AA9AESCipherOAA9BlockModeOtKF":{"name":"decrypt(msg:cipher:mode:)","abstract":"Decrypts a Data message with ECIES
","parent_name":"ECPrivateKey"},"Classes/Domain.html#/s:8SwiftECC6DomainC5OID_P4ASN10E16ObjectIdentifierCvpZ":{"name":"OID_P","abstract":"Prime characteristic domain OID
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC5OID_24ASN10E16ObjectIdentifierCvpZ":{"name":"OID_2","abstract":"Characteristic 2 domain OID
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8instance5curveAcA7ECCurveO_tFZ":{"name":"instance(curve:)","abstract":"Returns a predefined domain from its curve
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8instance3oidAC4ASN10F16ObjectIdentifierC_tKFZ":{"name":"instance(oid:)","abstract":"Returns a predefined domain from its OID
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8instance3pemACSS_tKFZ":{"name":"instance(pem:)","abstract":"Constructs a domain from its PEM encoding
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8instance4name1p1a1b2gx2gy5order8cofactor3oidACSS_6BigInt4BIntVA5PSi4ASN10N16ObjectIdentifierCSgtKFZ":{"name":"instance(name:p:a:b:gx:gy:order:cofactor:oid:)","abstract":"Constructs an odd prime characteristic domain","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8instance4name2rp1a1b2gx2gy5order8cofactor3oidACSS_AA2RPV6BigInt4BIntVA4RSi4ASN10P16ObjectIdentifierCSgtKFZ":{"name":"instance(name:rp:a:b:gx:gy:order:cofactor:oid:)","abstract":"
Constructs a characteristic 2 domain","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC4nameSSvp":{"name":"name","abstract":"
The domain name
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC1p6BigInt4BIntVvp":{"name":"p","abstract":"The modulus
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC1a6BigInt4BIntVvp":{"name":"a","abstract":"The curve a coefficient
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC1b6BigInt4BIntVvp":{"name":"b","abstract":"The curve b coefficient
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC1gAA5PointVvp":{"name":"g","abstract":"The generator point
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC5order6BigInt4BIntVvp":{"name":"order","abstract":"The curve order
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8cofactorSivp":{"name":"cofactor","abstract":"The cofactor
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC3oid4ASN10E16ObjectIdentifierCSgvp":{"name":"oid","abstract":"An optional domain OID
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC15characteristic2Sbvp":{"name":"characteristic2","abstract":"Is true if self has characteristic 2, false if it has an odd prime characteristic
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC4asn14ASN1AECvp":{"name":"asn1","abstract":"The ASN1 encoding of self
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC3pemSSvp":{"name":"pem","abstract":"The PEM encoding of self
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC11descriptionSSvp":{"name":"description","abstract":"A textual representation of the ASN1 encoding of self
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC6doubleyAA5PointVAFF":{"name":"double(_:)","abstract":"Doubles a curve Point - DEPRECATED, use doublePoint instead
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC11doublePointyAA0E0VAFKF":{"name":"doublePoint(_:)","abstract":"Doubles a curve Point
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC3addyAA5PointVAF_AFtF":{"name":"add(_:_:)","abstract":"Adds two curve Points - DEPRECATED, use addPoints instead
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC9addPointsyAA5PointVAF_AFtKF":{"name":"addPoints(_:_:)","abstract":"Adds two curve Points
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8subtractyAA5PointVAF_AFtF":{"name":"subtract(_:_:)","abstract":"Subtracts two curve Points - DEPRECATED, use subtractPoints instead
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC14subtractPointsyAA5PointVAF_AFtKF":{"name":"subtractPoints(_:_:)","abstract":"Subtracts two curve Points
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC6negateyAA5PointVAFF":{"name":"negate(_:)","abstract":"Negates a curve Point - DEPRECATED, use negatePoint instead
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC11negatePointyAA0E0VAFKF":{"name":"negatePoint(_:)","abstract":"Negates a curve Point
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8multiplyyAA5PointVAF_6BigInt4BIntVtF":{"name":"multiply(_:_:)","abstract":"Multiplies a curve Point by an integer - DEPRECATED, use multiplyPoint instead
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC13multiplyPointyAA0E0VAF_6BigInt4BIntVtKF":{"name":"multiplyPoint(_:_:)","abstract":"Multiplies a curve Point by an integer
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8containsySbAA5PointVF":{"name":"contains(_:)","abstract":"Tests if point is on curve
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC11encodePointySays5UInt8VGAA0E0V_SbtKF":{"name":"encodePoint(_:_:)","abstract":"Encodes a Point to a byte array - please refer [SEC 1] section 2.3.3
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC11decodePointyAA0E0VSays5UInt8VGKF":{"name":"decodePoint(_:)","abstract":"Decodes a Point from a byte array - please refer [SEC 1] section 2.3.4
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC15asn1EncodePointy4ASN1AECAA0F0V_SbtKF":{"name":"asn1EncodePoint(_:_:)","abstract":"Encodes a Point to an ASN1 structure
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC15asn1DecodePointyAA0F0V4ASN10G11OctetStringCKF":{"name":"asn1DecodePoint(_:)","abstract":"Decodes a Point from an ASN1 octet string
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC15asn1DecodePointyAA0F0V4ASN10G9BitStringCKF":{"name":"asn1DecodePoint(_:)","abstract":"Decodes a Point from an ASN1 bit string
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC12asn1Explicit4ASN1AECyF":{"name":"asn1Explicit()","abstract":"Explicit ASN1 encoding of self - please refer [SEC 1] appendix C.2
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC11makeKeyPairAA08ECPublicE0C_AA09ECPrivateE0CtyF":{"name":"makeKeyPair()","abstract":"
Generates a private- and public key pair for self
","parent_name":"Domain"},"Classes/Domain.html":{"name":"Domain","abstract":"A Domain instance contains an elliptic curve domain - either with characteristic 2 or characteristic an odd prime."},"Classes/ECPrivateKey.html":{"name":"ECPrivateKey","abstract":"
An Elliptic Curve private key
"},"Classes/ECPublicKey.html":{"name":"ECPublicKey","abstract":"An Elliptic Curve public key
"},"Classes/ECSignature.html":{"name":"ECSignature","abstract":"ECSignature instances contain an ECDSA signature which consists of two byte arrays named r and s
"},"Classes.html":{"name":"Classes","abstract":"The following classes are available globally.
"},"Enums.html":{"name":"Enumerations","abstract":"The following enumerations are available globally.
"},"Structs.html":{"name":"Structures","abstract":"The following structures are available globally.
"},"Typealiases.html":{"name":"Type Aliases","abstract":"The following type aliases are available globally.
"}}
\ No newline at end of file
+{"Typealiases.html#/s:8SwiftECC4Bytea":{"name":"Byte","abstract":"An 8-bit unsigned integer
"},"Typealiases.html#/s:8SwiftECC5Bytesa":{"name":"Bytes","abstract":"An array of 8-bit unsigned integers
"},"Structs/RP.html#/s:8SwiftECC2RPVyACSi_S3itcfc":{"name":"init(_:_:_:_:)","abstract":"Creates a reduction polynomial x^m + x^k3 + x^k2 + x^k1 + 1
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPVyACSi_Sitcfc":{"name":"init(_:_:)","abstract":"Creates a reduction polynomial x^m + x^k1 + 1
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV1mSivp":{"name":"m","abstract":"The m exponent
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV2k3Sivp":{"name":"k3","abstract":"The k3 exponent
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV2k2Sivp":{"name":"k2","abstract":"The k2 exponent
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV2k1Sivp":{"name":"k1","abstract":"The k1 exponent
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV1p6BigInt4BIntVvp":{"name":"p","abstract":"The reduction polynomial as a BInt
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV11descriptionSSvp":{"name":"description","abstract":"Textual description of self
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"Tests equality of reduction polynomials
","parent_name":"RP"},"Structs/Point.html#/s:8SwiftECC5PointV8INFINITYACvpZ":{"name":"INFINITY","abstract":"The point at infinity
","parent_name":"Point"},"Structs/Point.html#/s:8SwiftECC5PointVyAC6BigInt4BIntV_AFtcfc":{"name":"init(_:_:)","abstract":"Creates a Point from its x- and y-coordinates
","parent_name":"Point"},"Structs/Point.html#/s:8SwiftECC5PointV1x6BigInt4BIntVvp":{"name":"x","abstract":"The x coordinate
","parent_name":"Point"},"Structs/Point.html#/s:8SwiftECC5PointV1y6BigInt4BIntVvp":{"name":"y","abstract":"The y coordinate
","parent_name":"Point"},"Structs/Point.html#/s:8SwiftECC5PointV8infinitySbvp":{"name":"infinity","abstract":"Is true iff self is the point at inifinity
","parent_name":"Point"},"Structs/Point.html#/s:8SwiftECC5PointV11descriptionSSvp":{"name":"description","abstract":"Textual description of self
","parent_name":"Point"},"Structs/Point.html#/s:8SwiftECC5PointV2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"Tests equality of Points
","parent_name":"Point"},"Structs/Base64.html#/s:8SwiftECC6Base64V9pemEncodeySSSays5UInt8VG_SStFZ":{"name":"pemEncode(_:_:)","abstract":"PEM encodes a byte array
","parent_name":"Base64"},"Structs/Base64.html#/s:8SwiftECC6Base64V9pemDecodeySays5UInt8VGSS_SStKFZ":{"name":"pemDecode(_:_:)","abstract":"PEM decodes a string
","parent_name":"Base64"},"Structs/Base64.html#/s:8SwiftECC6Base64V6encodeySSSays5UInt8VGFZ":{"name":"encode(_:)","abstract":"Base64 encodes a byte array
","parent_name":"Base64"},"Structs/Base64.html#/s:8SwiftECC6Base64V6decodeySays5UInt8VGSSKFZ":{"name":"decode(_:)","abstract":"Base64 decodes a string
","parent_name":"Base64"},"Structs/Base64.html":{"name":"Base64","abstract":"There is no Base64 instances."},"Structs/Point.html":{"name":"Point","abstract":"
Point instances contain elliptic curve points.
"},"Structs/RP.html":{"name":"RP","abstract":"RP instances contain reduction polynomials like"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO11descriptionSSvp":{"name":"description","abstract":"
Textual description of self
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO13asn1StructureyA2CmF":{"name":"asn1Structure","abstract":"ASN1 has wrong structure
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO14authenticationyA2CmF":{"name":"authentication","abstract":"Authentication failed
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO6base64yA2CmF":{"name":"base64","abstract":"Base64 decoding exception
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO11decodePointyA2CmF":{"name":"decodePoint","abstract":"Invalid input to point decoding
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO15domainParameteryA2CmF":{"name":"domainParameter","abstract":"Either 4 * a^3 + 27 * b^2 = 0 when creating a prime domain or b = 0 when creating a characteristic 2 domain
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO11encodePointyA2CmF":{"name":"encodePoint","abstract":"Point to encode does not lie on the domain curve
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO14notEnoughInputyA2CmF":{"name":"notEnoughInput","abstract":"Not enough input to decrypt
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO7paddingyA2CmF":{"name":"padding","abstract":"Padding is wrong
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO12pemStructureyA2CmF":{"name":"pemStructure","abstract":"PEM structure is wrong
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO19privateKeyParameteryA2CmF":{"name":"privateKeyParameter","abstract":"Invalid parameter to ECPrivateKey constructor
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO18publicKeyParameteryA2CmF":{"name":"publicKeyParameter","abstract":"Invalid parameter to ECPublicKey constructor
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO10unknownOidyA2CmF":{"name":"unknownOid","abstract":"Unknown domain OID
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO10notOnCurveyA2CmF":{"name":"notOnCurve","abstract":"Point not on curve
","parent_name":"ECException"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP160r1yA2CmF":{"name":"BP160r1","abstract":"brainpoolP160r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP160t1yA2CmF":{"name":"BP160t1","abstract":"brainpoolP160t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP192r1yA2CmF":{"name":"BP192r1","abstract":"brainpoolP192r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP192t1yA2CmF":{"name":"BP192t1","abstract":"brainpoolP192t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP224r1yA2CmF":{"name":"BP224r1","abstract":"brainpoolP224r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP224t1yA2CmF":{"name":"BP224t1","abstract":"brainpoolP224t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP256r1yA2CmF":{"name":"BP256r1","abstract":"brainpoolP256r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP256t1yA2CmF":{"name":"BP256t1","abstract":"brainpoolP256t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP320r1yA2CmF":{"name":"BP320r1","abstract":"brainpoolP320r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP320t1yA2CmF":{"name":"BP320t1","abstract":"brainpoolP320t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP384r1yA2CmF":{"name":"BP384r1","abstract":"brainpoolP384r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP384t1yA2CmF":{"name":"BP384t1","abstract":"brainpoolP384t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP512r1yA2CmF":{"name":"BP512r1","abstract":"brainpoolP512r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP512t1yA2CmF":{"name":"BP512t1","abstract":"brainpoolP512t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC163k1yA2CmF":{"name":"EC163k1","abstract":"NIST sect163k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC163r2yA2CmF":{"name":"EC163r2","abstract":"NIST sect163r2 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC192k1yA2CmF":{"name":"EC192k1","abstract":"NIST sect192k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC192r1yA2CmF":{"name":"EC192r1","abstract":"NIST sect192r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC224k1yA2CmF":{"name":"EC224k1","abstract":"NIST sect224k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC224r1yA2CmF":{"name":"EC224r1","abstract":"NIST sect224r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC233k1yA2CmF":{"name":"EC233k1","abstract":"NIST sect233k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC233r1yA2CmF":{"name":"EC233r1","abstract":"NIST sect233r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC256k1yA2CmF":{"name":"EC256k1","abstract":"NIST sect256k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC256r1yA2CmF":{"name":"EC256r1","abstract":"NIST sect256r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC283k1yA2CmF":{"name":"EC283k1","abstract":"NIST sect283k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC283r1yA2CmF":{"name":"EC283r1","abstract":"NIST sect283r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC384r1yA2CmF":{"name":"EC384r1","abstract":"NIST sect384r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC409k1yA2CmF":{"name":"EC409k1","abstract":"NIST sect409k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC409r1yA2CmF":{"name":"EC409r1","abstract":"NIST sect409r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC521r1yA2CmF":{"name":"EC521r1","abstract":"NIST sect521r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC571k1yA2CmF":{"name":"EC571k1","abstract":"NIST sect571k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC571r1yA2CmF":{"name":"EC571r1","abstract":"NIST sect571r1 curve
","parent_name":"ECCurve"},"Enums/BlockMode.html#/s:8SwiftECC9BlockModeO3CBCyA2CmF":{"name":"CBC","abstract":"Cipher Block Chaining mode
","parent_name":"BlockMode"},"Enums/BlockMode.html#/s:8SwiftECC9BlockModeO3CFByA2CmF":{"name":"CFB","abstract":"Cipher Feedback mode
","parent_name":"BlockMode"},"Enums/BlockMode.html#/s:8SwiftECC9BlockModeO3CTRyA2CmF":{"name":"CTR","abstract":"Counter mode
","parent_name":"BlockMode"},"Enums/BlockMode.html#/s:8SwiftECC9BlockModeO3ECByA2CmF":{"name":"ECB","abstract":"Electronic Codebook mode
","parent_name":"BlockMode"},"Enums/BlockMode.html#/s:8SwiftECC9BlockModeO3GCMyA2CmF":{"name":"GCM","abstract":"Galois Counter mode
","parent_name":"BlockMode"},"Enums/BlockMode.html#/s:8SwiftECC9BlockModeO3OFByA2CmF":{"name":"OFB","abstract":"Output Feedback mode
","parent_name":"BlockMode"},"Enums/AESCipher.html#/s:8SwiftECC9AESCipherO6AES128yA2CmF":{"name":"AES128","abstract":"AES 128 bit block cipher
","parent_name":"AESCipher"},"Enums/AESCipher.html#/s:8SwiftECC9AESCipherO6AES192yA2CmF":{"name":"AES192","abstract":"AES 192 bit block cipher
","parent_name":"AESCipher"},"Enums/AESCipher.html#/s:8SwiftECC9AESCipherO6AES256yA2CmF":{"name":"AES256","abstract":"AES 256 bit block cipher
","parent_name":"AESCipher"},"Enums/AESCipher.html":{"name":"AESCipher","abstract":"AES block ciphers available for encryption
"},"Enums/BlockMode.html":{"name":"BlockMode","abstract":"Available block cipher modes
"},"Enums/ECCurve.html":{"name":"ECCurve","abstract":"Built-in elliptic curves
"},"Enums/ECException.html":{"name":"ECException","abstract":"Elliptic curve exceptions
"},"Classes/ECSignature.html#/s:8SwiftECC11ECSignatureC1r1sACSays5UInt8VG_AHtcfc":{"name":"init(r:s:)","abstract":"Creates a signature from its r and s components
","parent_name":"ECSignature"},"Classes/ECSignature.html#/s:8SwiftECC11ECSignatureC4asn16domainAC4ASN1AFC_AA6DomainCtKcfc":{"name":"init(asn1:domain:)","abstract":"Creates a signature from its ASN1 representation
","parent_name":"ECSignature"},"Classes/ECSignature.html#/s:8SwiftECC11ECSignatureC1rSays5UInt8VGvp":{"name":"r","abstract":"The r component of the signature
","parent_name":"ECSignature"},"Classes/ECSignature.html#/s:8SwiftECC11ECSignatureC1sSays5UInt8VGvp":{"name":"s","abstract":"The s component of the signature
","parent_name":"ECSignature"},"Classes/ECSignature.html#/s:8SwiftECC11ECSignatureC4asn14ASN1AECvp":{"name":"asn1","abstract":"The ASN1 encoding of the signature
","parent_name":"ECSignature"},"Classes/ECSignature.html#/s:8SwiftECC11ECSignatureC11descriptionSSvp":{"name":"description","abstract":"Textual description of self
","parent_name":"ECSignature"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC6domain1wAcA6DomainC_AA5PointVtKcfc":{"name":"init(domain:w:)","abstract":"Creates a public key
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC3derACSays5UInt8VG_tKcfc":{"name":"init(der:)","abstract":"Creates a public key from its DER encoding
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC3pemACSS_tKcfc":{"name":"init(pem:)","abstract":"Creates a public key from its PEM encoding
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC6domainAA6DomainCvp":{"name":"domain","abstract":"The domain the key belongs to
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC1wAA5PointVvp":{"name":"w","abstract":"The public value - a curve point
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC4asn14ASN1AECvp":{"name":"asn1","abstract":"The ASN1 encoding of self
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC3pemSSvp":{"name":"pem","abstract":"The PEM encoding of self
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC11descriptionSSvp":{"name":"description","abstract":"A textual representation of the ASN1 encoding of self
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC6verify9signature3msg2bwSbAA11ECSignatureC_Says5UInt8VGSiSgtF":{"name":"verify(signature:msg:bw:)","abstract":"Verifies a signature with ECDSA
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC6verify9signature3msg2bwSbAA11ECSignatureC_10Foundation4DataVSiSgtF":{"name":"verify(signature:msg:bw:)","abstract":"Verifies a signature with ECDSA
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC7encrypt3msg6cipher4modeSays5UInt8VGAJ_AA9AESCipherOAA9BlockModeOtF":{"name":"encrypt(msg:cipher:mode:)","abstract":"Encrypts a byte array with ECIES
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC7encrypt3msg6cipher4mode10Foundation4DataVAJ_AA9AESCipherOAA9BlockModeOtF":{"name":"encrypt(msg:cipher:mode:)","abstract":"Encrypts a Data structure with ECIES
","parent_name":"ECPublicKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC6domain1sAcA6DomainC_6BigInt4BIntVtKcfc":{"name":"init(domain:s:)","abstract":"Creates a private key
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC3derACSays5UInt8VG_tKcfc":{"name":"init(der:)","abstract":"Creates a private key from its DER encoding
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC3pemACSS_tKcfc":{"name":"init(pem:)","abstract":"Creates a private key from its PEM encoding
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC6domainAA6DomainCvp":{"name":"domain","abstract":"The domain the key belongs to
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC1s6BigInt4BIntVvp":{"name":"s","abstract":"The private value - a integer number
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC4asn14ASN1AECvp":{"name":"asn1","abstract":"The ASN1 encoding of self
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC3pemSSvp":{"name":"pem","abstract":"The PEM base 64 encoding of self
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC11descriptionSSvp":{"name":"description","abstract":"A textual representation of the ASN1 encoding of self
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC4sign3msg13deterministicAA11ECSignatureCSays5UInt8VG_SbtF":{"name":"sign(msg:deterministic:)","abstract":"Signs a byte array message with ECDSA
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC4sign3msg13deterministicAA11ECSignatureC10Foundation4DataV_SbtF":{"name":"sign(msg:deterministic:)","abstract":"Signs a Data message with ECDSA
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC7decrypt3msg6cipher4modeSays5UInt8VGAJ_AA9AESCipherOAA9BlockModeOtKF":{"name":"decrypt(msg:cipher:mode:)","abstract":"Decrypts a byte array message with ECIES
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC7decrypt3msg6cipher4mode10Foundation4DataVAJ_AA9AESCipherOAA9BlockModeOtKF":{"name":"decrypt(msg:cipher:mode:)","abstract":"Decrypts a Data message with ECIES
","parent_name":"ECPrivateKey"},"Classes/Domain.html#/s:8SwiftECC6DomainC5OID_P4ASN10E16ObjectIdentifierCvpZ":{"name":"OID_P","abstract":"Prime characteristic domain OID
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC5OID_24ASN10E16ObjectIdentifierCvpZ":{"name":"OID_2","abstract":"Characteristic 2 domain OID
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8instance5curveAcA7ECCurveO_tFZ":{"name":"instance(curve:)","abstract":"Returns a predefined domain from its curve
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8instance3oidAC4ASN10F16ObjectIdentifierC_tKFZ":{"name":"instance(oid:)","abstract":"Returns a predefined domain from its OID
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8instance3pemACSS_tKFZ":{"name":"instance(pem:)","abstract":"Constructs a domain from its PEM encoding
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8instance4name1p1a1b2gx2gy5order8cofactor3oidACSS_6BigInt4BIntVA5PSi4ASN10N16ObjectIdentifierCSgtKFZ":{"name":"instance(name:p:a:b:gx:gy:order:cofactor:oid:)","abstract":"Constructs an odd prime characteristic domain","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8instance4name2rp1a1b2gx2gy5order8cofactor3oidACSS_AA2RPV6BigInt4BIntVA4RSi4ASN10P16ObjectIdentifierCSgtKFZ":{"name":"instance(name:rp:a:b:gx:gy:order:cofactor:oid:)","abstract":"
Constructs a characteristic 2 domain","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC4nameSSvp":{"name":"name","abstract":"
The domain name
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC1p6BigInt4BIntVvp":{"name":"p","abstract":"The modulus
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC1a6BigInt4BIntVvp":{"name":"a","abstract":"The curve a coefficient
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC1b6BigInt4BIntVvp":{"name":"b","abstract":"The curve b coefficient
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC1gAA5PointVvp":{"name":"g","abstract":"The generator point
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC5order6BigInt4BIntVvp":{"name":"order","abstract":"The curve order
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8cofactorSivp":{"name":"cofactor","abstract":"The cofactor
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC3oid4ASN10E16ObjectIdentifierCSgvp":{"name":"oid","abstract":"An optional domain OID
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC15characteristic2Sbvp":{"name":"characteristic2","abstract":"Is true if self has characteristic 2, false if it has an odd prime characteristic
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC4asn14ASN1AECvp":{"name":"asn1","abstract":"The ASN1 encoding of self
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC3pemSSvp":{"name":"pem","abstract":"The PEM encoding of self
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC11descriptionSSvp":{"name":"description","abstract":"A textual representation of the ASN1 encoding of self
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC11doublePointyAA0E0VAFKF":{"name":"doublePoint(_:)","abstract":"Doubles a curve Point
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC9addPointsyAA5PointVAF_AFtKF":{"name":"addPoints(_:_:)","abstract":"Adds two curve Points
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC14subtractPointsyAA5PointVAF_AFtKF":{"name":"subtractPoints(_:_:)","abstract":"Subtracts two curve Points
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC11negatePointyAA0E0VAFKF":{"name":"negatePoint(_:)","abstract":"Negates a curve Point
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC13multiplyPointyAA0E0VAF_6BigInt4BIntVtKF":{"name":"multiplyPoint(_:_:)","abstract":"Multiplies a curve Point by an integer
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8containsySbAA5PointVF":{"name":"contains(_:)","abstract":"Tests if point is on curve
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC11encodePointySays5UInt8VGAA0E0V_SbtKF":{"name":"encodePoint(_:_:)","abstract":"Encodes a Point to a byte array - please refer [SEC 1] section 2.3.3
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC11decodePointyAA0E0VSays5UInt8VGKF":{"name":"decodePoint(_:)","abstract":"Decodes a Point from a byte array - please refer [SEC 1] section 2.3.4
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC15asn1EncodePointy4ASN1AECAA0F0V_SbtKF":{"name":"asn1EncodePoint(_:_:)","abstract":"Encodes a Point to an ASN1 structure
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC15asn1DecodePointyAA0F0V4ASN10G11OctetStringCKF":{"name":"asn1DecodePoint(_:)","abstract":"Decodes a Point from an ASN1 octet string
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC15asn1DecodePointyAA0F0V4ASN10G9BitStringCKF":{"name":"asn1DecodePoint(_:)","abstract":"Decodes a Point from an ASN1 bit string
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC12asn1Explicit4ASN1AECyF":{"name":"asn1Explicit()","abstract":"Explicit ASN1 encoding of self - please refer [SEC 1] appendix C.2
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC11makeKeyPairAA08ECPublicE0C_AA09ECPrivateE0CtyF":{"name":"makeKeyPair()","abstract":"
Generates a private- and public key pair for self
","parent_name":"Domain"},"Classes/Domain.html":{"name":"Domain","abstract":"A Domain instance contains an elliptic curve domain - either with characteristic 2 or characteristic an odd prime."},"Classes/ECPrivateKey.html":{"name":"ECPrivateKey","abstract":"
An Elliptic Curve private key
"},"Classes/ECPublicKey.html":{"name":"ECPublicKey","abstract":"An Elliptic Curve public key
"},"Classes/ECSignature.html":{"name":"ECSignature","abstract":"ECSignature instances contain an ECDSA signature which consists of two byte arrays named r and s
"},"Classes.html":{"name":"Classes","abstract":"The following classes are available globally.
"},"Enums.html":{"name":"Enumerations","abstract":"The following enumerations are available globally.
"},"Structs.html":{"name":"Structures","abstract":"The following structures are available globally.
"},"Typealiases.html":{"name":"Type Aliases","abstract":"The following type aliases are available globally.
"}}
\ No newline at end of file
diff --git a/docs/docsets/.docset/Contents/Resources/Documents/undocumented.json b/docs/docsets/.docset/Contents/Resources/Documents/undocumented.json
deleted file mode 100644
index f9e3224..0000000
--- a/docs/docsets/.docset/Contents/Resources/Documents/undocumented.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "warnings": [
-
- ],
- "source_directory": "/Users/leifibsen/Documents/SwiftXcode/SwiftECC"
-}
\ No newline at end of file
diff --git a/docs/docsets/.docset/Contents/Resources/docSet.dsidx b/docs/docsets/.docset/Contents/Resources/docSet.dsidx
index 35f3d1d..384f80c 100644
Binary files a/docs/docsets/.docset/Contents/Resources/docSet.dsidx and b/docs/docsets/.docset/Contents/Resources/docSet.dsidx differ
diff --git a/docs/docsets/.tgz b/docs/docsets/.tgz
index c06530b..fb2e5ef 100644
Binary files a/docs/docsets/.tgz and b/docs/docsets/.tgz differ
diff --git a/docs/index.html b/docs/index.html
index 4cfec9b..0635a2c 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -116,7 +116,7 @@ Usage
In your project Package.swift file add a dependency like
dependencies: [
- .package(url: "https://github.com/leif-ibsen/SwiftECC", from: "1.1.0"),
+ .package(url: "https://github.com/leif-ibsen/SwiftECC", from: "2.0.0"),
]
@@ -467,7 +467,7 @@ Dependencies
The SwiftECC package depends on the ASN1 and BigInt packages
dependencies: [
- .package(url: "https://github.com/leif-ibsen/ASN1", from: "1.2.1"),
+ .package(url: "https://github.com/leif-ibsen/ASN1", from: "2.0.0"),
.package(url: "https://github.com/leif-ibsen/BigInt", from: "1.2.5"),
],
@@ -498,7 +498,7 @@ Acknowledgement
diff --git a/docs/search.json b/docs/search.json
index 000a3be..a821a47 100644
--- a/docs/search.json
+++ b/docs/search.json
@@ -1 +1 @@
-{"Typealiases.html#/s:8SwiftECC4Bytea":{"name":"Byte","abstract":"An 8-bit unsigned integer
"},"Typealiases.html#/s:8SwiftECC5Bytesa":{"name":"Bytes","abstract":"An array of 8-bit unsigned integers
"},"Structs/RP.html#/s:8SwiftECC2RPVyACSi_S3itcfc":{"name":"init(_:_:_:_:)","abstract":"Creates a reduction polynomial x^m + x^k3 + x^k2 + x^k1 + 1
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPVyACSi_Sitcfc":{"name":"init(_:_:)","abstract":"Creates a reduction polynomial x^m + x^k1 + 1
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV1mSivp":{"name":"m","abstract":"The m exponent
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV2k3Sivp":{"name":"k3","abstract":"The k3 exponent
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV2k2Sivp":{"name":"k2","abstract":"The k2 exponent
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV2k1Sivp":{"name":"k1","abstract":"The k1 exponent
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV1p6BigInt4BIntVvp":{"name":"p","abstract":"The reduction polynomial as a BInt
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV11descriptionSSvp":{"name":"description","abstract":"Textual description of self
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"Tests equality of reduction polynomials
","parent_name":"RP"},"Structs/Point.html#/s:8SwiftECC5PointV8INFINITYACvpZ":{"name":"INFINITY","abstract":"The point at infinity
","parent_name":"Point"},"Structs/Point.html#/s:8SwiftECC5PointVyAC6BigInt4BIntV_AFtcfc":{"name":"init(_:_:)","abstract":"Creates a Point from its x- and y-coordinates
","parent_name":"Point"},"Structs/Point.html#/s:8SwiftECC5PointV1x6BigInt4BIntVvp":{"name":"x","abstract":"The x coordinate
","parent_name":"Point"},"Structs/Point.html#/s:8SwiftECC5PointV1y6BigInt4BIntVvp":{"name":"y","abstract":"The y coordinate
","parent_name":"Point"},"Structs/Point.html#/s:8SwiftECC5PointV8infinitySbvp":{"name":"infinity","abstract":"Is true iff self is the point at inifinity
","parent_name":"Point"},"Structs/Point.html#/s:8SwiftECC5PointV11descriptionSSvp":{"name":"description","abstract":"Textual description of self
","parent_name":"Point"},"Structs/Point.html#/s:8SwiftECC5PointV2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"Tests equality of Points
","parent_name":"Point"},"Structs/Base64.html#/s:8SwiftECC6Base64V9pemEncodeySSSays5UInt8VG_SStFZ":{"name":"pemEncode(_:_:)","abstract":"PEM encodes a byte array
","parent_name":"Base64"},"Structs/Base64.html#/s:8SwiftECC6Base64V9pemDecodeySays5UInt8VGSS_SStKFZ":{"name":"pemDecode(_:_:)","abstract":"PEM decodes a string
","parent_name":"Base64"},"Structs/Base64.html#/s:8SwiftECC6Base64V6encodeySSSays5UInt8VGFZ":{"name":"encode(_:)","abstract":"Base64 encodes a byte array
","parent_name":"Base64"},"Structs/Base64.html#/s:8SwiftECC6Base64V6decodeySays5UInt8VGSSKFZ":{"name":"decode(_:)","abstract":"Base64 decodes a string
","parent_name":"Base64"},"Structs/Base64.html":{"name":"Base64","abstract":"There is no Base64 instances."},"Structs/Point.html":{"name":"Point","abstract":"
Point instances contain elliptic curve points.
"},"Structs/RP.html":{"name":"RP","abstract":"RP instances contain reduction polynomials like"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO11descriptionSSvp":{"name":"description","abstract":"
Textual description of self
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO13asn1StructureyA2CmF":{"name":"asn1Structure","abstract":"ASN1 has wrong structure
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO14authenticationyA2CmF":{"name":"authentication","abstract":"Authentication failed
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO6base64yA2CmF":{"name":"base64","abstract":"Base64 decoding exception
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO11decodePointyA2CmF":{"name":"decodePoint","abstract":"Invalid input to point decoding
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO15domainParameteryA2CmF":{"name":"domainParameter","abstract":"Either 4 * a^3 + 27 * b^2 = 0 when creating a prime domain or b = 0 when creating a characteristic 2 domain
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO11encodePointyA2CmF":{"name":"encodePoint","abstract":"Point to encode does not lie on the domain curve
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO14notEnoughInputyA2CmF":{"name":"notEnoughInput","abstract":"Not enough input to decrypt
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO7paddingyA2CmF":{"name":"padding","abstract":"Padding is wrong
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO12pemStructureyA2CmF":{"name":"pemStructure","abstract":"PEM structure is wrong
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO19privateKeyParameteryA2CmF":{"name":"privateKeyParameter","abstract":"Invalid parameter to ECPrivateKey constructor
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO18publicKeyParameteryA2CmF":{"name":"publicKeyParameter","abstract":"Invalid parameter to ECPublicKey constructor
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO10unknownOidyA2CmF":{"name":"unknownOid","abstract":"Unknown domain OID
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO10notOnCurveyA2CmF":{"name":"notOnCurve","abstract":"Point not on curve
","parent_name":"ECException"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP160r1yA2CmF":{"name":"BP160r1","abstract":"brainpoolP160r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP160t1yA2CmF":{"name":"BP160t1","abstract":"brainpoolP160t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP192r1yA2CmF":{"name":"BP192r1","abstract":"brainpoolP192r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP192t1yA2CmF":{"name":"BP192t1","abstract":"brainpoolP192t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP224r1yA2CmF":{"name":"BP224r1","abstract":"brainpoolP224r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP224t1yA2CmF":{"name":"BP224t1","abstract":"brainpoolP224t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP256r1yA2CmF":{"name":"BP256r1","abstract":"brainpoolP256r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP256t1yA2CmF":{"name":"BP256t1","abstract":"brainpoolP256t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP320r1yA2CmF":{"name":"BP320r1","abstract":"brainpoolP320r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP320t1yA2CmF":{"name":"BP320t1","abstract":"brainpoolP320t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP384r1yA2CmF":{"name":"BP384r1","abstract":"brainpoolP384r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP384t1yA2CmF":{"name":"BP384t1","abstract":"brainpoolP384t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP512r1yA2CmF":{"name":"BP512r1","abstract":"brainpoolP512r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP512t1yA2CmF":{"name":"BP512t1","abstract":"brainpoolP512t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC163k1yA2CmF":{"name":"EC163k1","abstract":"NIST sect163k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC163r2yA2CmF":{"name":"EC163r2","abstract":"NIST sect163r2 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC192k1yA2CmF":{"name":"EC192k1","abstract":"NIST sect192k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC192r1yA2CmF":{"name":"EC192r1","abstract":"NIST sect192r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC224k1yA2CmF":{"name":"EC224k1","abstract":"NIST sect224k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC224r1yA2CmF":{"name":"EC224r1","abstract":"NIST sect224r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC233k1yA2CmF":{"name":"EC233k1","abstract":"NIST sect233k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC233r1yA2CmF":{"name":"EC233r1","abstract":"NIST sect233r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC256k1yA2CmF":{"name":"EC256k1","abstract":"NIST sect256k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC256r1yA2CmF":{"name":"EC256r1","abstract":"NIST sect256r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC283k1yA2CmF":{"name":"EC283k1","abstract":"NIST sect283k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC283r1yA2CmF":{"name":"EC283r1","abstract":"NIST sect283r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC384r1yA2CmF":{"name":"EC384r1","abstract":"NIST sect384r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC409k1yA2CmF":{"name":"EC409k1","abstract":"NIST sect409k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC409r1yA2CmF":{"name":"EC409r1","abstract":"NIST sect409r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC521r1yA2CmF":{"name":"EC521r1","abstract":"NIST sect521r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC571k1yA2CmF":{"name":"EC571k1","abstract":"NIST sect571k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC571r1yA2CmF":{"name":"EC571r1","abstract":"NIST sect571r1 curve
","parent_name":"ECCurve"},"Enums/BlockMode.html#/s:8SwiftECC9BlockModeO3CBCyA2CmF":{"name":"CBC","abstract":"Cipher Block Chaining mode
","parent_name":"BlockMode"},"Enums/BlockMode.html#/s:8SwiftECC9BlockModeO3CFByA2CmF":{"name":"CFB","abstract":"Cipher Feedback mode
","parent_name":"BlockMode"},"Enums/BlockMode.html#/s:8SwiftECC9BlockModeO3CTRyA2CmF":{"name":"CTR","abstract":"Counter mode
","parent_name":"BlockMode"},"Enums/BlockMode.html#/s:8SwiftECC9BlockModeO3ECByA2CmF":{"name":"ECB","abstract":"Electronic Codebook mode
","parent_name":"BlockMode"},"Enums/BlockMode.html#/s:8SwiftECC9BlockModeO3GCMyA2CmF":{"name":"GCM","abstract":"Galois Counter mode
","parent_name":"BlockMode"},"Enums/BlockMode.html#/s:8SwiftECC9BlockModeO3OFByA2CmF":{"name":"OFB","abstract":"Output Feedback mode
","parent_name":"BlockMode"},"Enums/AESCipher.html#/s:8SwiftECC9AESCipherO6AES128yA2CmF":{"name":"AES128","abstract":"AES 128 bit block cipher
","parent_name":"AESCipher"},"Enums/AESCipher.html#/s:8SwiftECC9AESCipherO6AES192yA2CmF":{"name":"AES192","abstract":"AES 192 bit block cipher
","parent_name":"AESCipher"},"Enums/AESCipher.html#/s:8SwiftECC9AESCipherO6AES256yA2CmF":{"name":"AES256","abstract":"AES 256 bit block cipher
","parent_name":"AESCipher"},"Enums/AESCipher.html":{"name":"AESCipher","abstract":"AES block ciphers available for encryption
"},"Enums/BlockMode.html":{"name":"BlockMode","abstract":"Available block cipher modes
"},"Enums/ECCurve.html":{"name":"ECCurve","abstract":"Built-in elliptic curves
"},"Enums/ECException.html":{"name":"ECException","abstract":"Elliptic curve exceptions
"},"Classes/ECSignature.html#/s:8SwiftECC11ECSignatureC1r1sACSays5UInt8VG_AHtcfc":{"name":"init(r:s:)","abstract":"Creates a signature from its r and s components
","parent_name":"ECSignature"},"Classes/ECSignature.html#/s:8SwiftECC11ECSignatureC4asn16domainAC4ASN1AFC_AA6DomainCtKcfc":{"name":"init(asn1:domain:)","abstract":"Creates a signature from its ASN1 representation
","parent_name":"ECSignature"},"Classes/ECSignature.html#/s:8SwiftECC11ECSignatureC1rSays5UInt8VGvp":{"name":"r","abstract":"The r component of the signature
","parent_name":"ECSignature"},"Classes/ECSignature.html#/s:8SwiftECC11ECSignatureC1sSays5UInt8VGvp":{"name":"s","abstract":"The s component of the signature
","parent_name":"ECSignature"},"Classes/ECSignature.html#/s:8SwiftECC11ECSignatureC4asn14ASN1AECvp":{"name":"asn1","abstract":"The ASN1 encoding of the signature
","parent_name":"ECSignature"},"Classes/ECSignature.html#/s:8SwiftECC11ECSignatureC11descriptionSSvp":{"name":"description","abstract":"Textual description of self
","parent_name":"ECSignature"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC6domain1wAcA6DomainC_AA5PointVtKcfc":{"name":"init(domain:w:)","abstract":"Creates a public key
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC3derACSays5UInt8VG_tKcfc":{"name":"init(der:)","abstract":"Creates a public key from its DER encoding
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC3pemACSS_tKcfc":{"name":"init(pem:)","abstract":"Creates a public key from its PEM encoding
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC6domainAA6DomainCvp":{"name":"domain","abstract":"The domain the key belongs to
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC1wAA5PointVvp":{"name":"w","abstract":"The public value - a curve point
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC4asn14ASN1AECvp":{"name":"asn1","abstract":"The ASN1 encoding of self
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC3pemSSvp":{"name":"pem","abstract":"The PEM encoding of self
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC11descriptionSSvp":{"name":"description","abstract":"A textual representation of the ASN1 encoding of self
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC6verify9signature3msg2bwSbAA11ECSignatureC_Says5UInt8VGSiSgtF":{"name":"verify(signature:msg:bw:)","abstract":"Verifies a signature with ECDSA
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC6verify9signature3msg2bwSbAA11ECSignatureC_10Foundation4DataVSiSgtF":{"name":"verify(signature:msg:bw:)","abstract":"Verifies a signature with ECDSA
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC7encrypt3msg6cipher4modeSays5UInt8VGAJ_AA9AESCipherOAA9BlockModeOtF":{"name":"encrypt(msg:cipher:mode:)","abstract":"Encrypts a byte array with ECIES
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC7encrypt3msg6cipher4mode10Foundation4DataVAJ_AA9AESCipherOAA9BlockModeOtF":{"name":"encrypt(msg:cipher:mode:)","abstract":"Encrypts a Data structure with ECIES
","parent_name":"ECPublicKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC6domain1sAcA6DomainC_6BigInt4BIntVtKcfc":{"name":"init(domain:s:)","abstract":"Creates a private key
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC3derACSays5UInt8VG_tKcfc":{"name":"init(der:)","abstract":"Creates a private key from its DER encoding
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC3pemACSS_tKcfc":{"name":"init(pem:)","abstract":"Creates a private key from its PEM encoding
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC6domainAA6DomainCvp":{"name":"domain","abstract":"The domain the key belongs to
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC1s6BigInt4BIntVvp":{"name":"s","abstract":"The private value - a integer number
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC4asn14ASN1AECvp":{"name":"asn1","abstract":"The ASN1 encoding of self
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC3pemSSvp":{"name":"pem","abstract":"The PEM base 64 encoding of self
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC11descriptionSSvp":{"name":"description","abstract":"A textual representation of the ASN1 encoding of self
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC4sign3msg13deterministicAA11ECSignatureCSays5UInt8VG_SbtF":{"name":"sign(msg:deterministic:)","abstract":"Signs a byte array message with ECDSA
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC4sign3msg13deterministicAA11ECSignatureC10Foundation4DataV_SbtF":{"name":"sign(msg:deterministic:)","abstract":"Signs a Data message with ECDSA
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC7decrypt3msg6cipher4modeSays5UInt8VGAJ_AA9AESCipherOAA9BlockModeOtKF":{"name":"decrypt(msg:cipher:mode:)","abstract":"Decrypts a byte array message with ECIES
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC7decrypt3msg6cipher4mode10Foundation4DataVAJ_AA9AESCipherOAA9BlockModeOtKF":{"name":"decrypt(msg:cipher:mode:)","abstract":"Decrypts a Data message with ECIES
","parent_name":"ECPrivateKey"},"Classes/Domain.html#/s:8SwiftECC6DomainC5OID_P4ASN10E16ObjectIdentifierCvpZ":{"name":"OID_P","abstract":"Prime characteristic domain OID
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC5OID_24ASN10E16ObjectIdentifierCvpZ":{"name":"OID_2","abstract":"Characteristic 2 domain OID
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8instance5curveAcA7ECCurveO_tFZ":{"name":"instance(curve:)","abstract":"Returns a predefined domain from its curve
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8instance3oidAC4ASN10F16ObjectIdentifierC_tKFZ":{"name":"instance(oid:)","abstract":"Returns a predefined domain from its OID
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8instance3pemACSS_tKFZ":{"name":"instance(pem:)","abstract":"Constructs a domain from its PEM encoding
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8instance4name1p1a1b2gx2gy5order8cofactor3oidACSS_6BigInt4BIntVA5PSi4ASN10N16ObjectIdentifierCSgtKFZ":{"name":"instance(name:p:a:b:gx:gy:order:cofactor:oid:)","abstract":"Constructs an odd prime characteristic domain","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8instance4name2rp1a1b2gx2gy5order8cofactor3oidACSS_AA2RPV6BigInt4BIntVA4RSi4ASN10P16ObjectIdentifierCSgtKFZ":{"name":"instance(name:rp:a:b:gx:gy:order:cofactor:oid:)","abstract":"
Constructs a characteristic 2 domain","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC4nameSSvp":{"name":"name","abstract":"
The domain name
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC1p6BigInt4BIntVvp":{"name":"p","abstract":"The modulus
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC1a6BigInt4BIntVvp":{"name":"a","abstract":"The curve a coefficient
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC1b6BigInt4BIntVvp":{"name":"b","abstract":"The curve b coefficient
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC1gAA5PointVvp":{"name":"g","abstract":"The generator point
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC5order6BigInt4BIntVvp":{"name":"order","abstract":"The curve order
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8cofactorSivp":{"name":"cofactor","abstract":"The cofactor
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC3oid4ASN10E16ObjectIdentifierCSgvp":{"name":"oid","abstract":"An optional domain OID
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC15characteristic2Sbvp":{"name":"characteristic2","abstract":"Is true if self has characteristic 2, false if it has an odd prime characteristic
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC4asn14ASN1AECvp":{"name":"asn1","abstract":"The ASN1 encoding of self
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC3pemSSvp":{"name":"pem","abstract":"The PEM encoding of self
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC11descriptionSSvp":{"name":"description","abstract":"A textual representation of the ASN1 encoding of self
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC6doubleyAA5PointVAFF":{"name":"double(_:)","abstract":"Doubles a curve Point - DEPRECATED, use doublePoint instead
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC11doublePointyAA0E0VAFKF":{"name":"doublePoint(_:)","abstract":"Doubles a curve Point
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC3addyAA5PointVAF_AFtF":{"name":"add(_:_:)","abstract":"Adds two curve Points - DEPRECATED, use addPoints instead
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC9addPointsyAA5PointVAF_AFtKF":{"name":"addPoints(_:_:)","abstract":"Adds two curve Points
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8subtractyAA5PointVAF_AFtF":{"name":"subtract(_:_:)","abstract":"Subtracts two curve Points - DEPRECATED, use subtractPoints instead
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC14subtractPointsyAA5PointVAF_AFtKF":{"name":"subtractPoints(_:_:)","abstract":"Subtracts two curve Points
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC6negateyAA5PointVAFF":{"name":"negate(_:)","abstract":"Negates a curve Point - DEPRECATED, use negatePoint instead
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC11negatePointyAA0E0VAFKF":{"name":"negatePoint(_:)","abstract":"Negates a curve Point
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8multiplyyAA5PointVAF_6BigInt4BIntVtF":{"name":"multiply(_:_:)","abstract":"Multiplies a curve Point by an integer - DEPRECATED, use multiplyPoint instead
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC13multiplyPointyAA0E0VAF_6BigInt4BIntVtKF":{"name":"multiplyPoint(_:_:)","abstract":"Multiplies a curve Point by an integer
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8containsySbAA5PointVF":{"name":"contains(_:)","abstract":"Tests if point is on curve
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC11encodePointySays5UInt8VGAA0E0V_SbtKF":{"name":"encodePoint(_:_:)","abstract":"Encodes a Point to a byte array - please refer [SEC 1] section 2.3.3
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC11decodePointyAA0E0VSays5UInt8VGKF":{"name":"decodePoint(_:)","abstract":"Decodes a Point from a byte array - please refer [SEC 1] section 2.3.4
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC15asn1EncodePointy4ASN1AECAA0F0V_SbtKF":{"name":"asn1EncodePoint(_:_:)","abstract":"Encodes a Point to an ASN1 structure
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC15asn1DecodePointyAA0F0V4ASN10G11OctetStringCKF":{"name":"asn1DecodePoint(_:)","abstract":"Decodes a Point from an ASN1 octet string
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC15asn1DecodePointyAA0F0V4ASN10G9BitStringCKF":{"name":"asn1DecodePoint(_:)","abstract":"Decodes a Point from an ASN1 bit string
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC12asn1Explicit4ASN1AECyF":{"name":"asn1Explicit()","abstract":"Explicit ASN1 encoding of self - please refer [SEC 1] appendix C.2
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC11makeKeyPairAA08ECPublicE0C_AA09ECPrivateE0CtyF":{"name":"makeKeyPair()","abstract":"
Generates a private- and public key pair for self
","parent_name":"Domain"},"Classes/Domain.html":{"name":"Domain","abstract":"A Domain instance contains an elliptic curve domain - either with characteristic 2 or characteristic an odd prime."},"Classes/ECPrivateKey.html":{"name":"ECPrivateKey","abstract":"
An Elliptic Curve private key
"},"Classes/ECPublicKey.html":{"name":"ECPublicKey","abstract":"An Elliptic Curve public key
"},"Classes/ECSignature.html":{"name":"ECSignature","abstract":"ECSignature instances contain an ECDSA signature which consists of two byte arrays named r and s
"},"Classes.html":{"name":"Classes","abstract":"The following classes are available globally.
"},"Enums.html":{"name":"Enumerations","abstract":"The following enumerations are available globally.
"},"Structs.html":{"name":"Structures","abstract":"The following structures are available globally.
"},"Typealiases.html":{"name":"Type Aliases","abstract":"The following type aliases are available globally.
"}}
\ No newline at end of file
+{"Typealiases.html#/s:8SwiftECC4Bytea":{"name":"Byte","abstract":"An 8-bit unsigned integer
"},"Typealiases.html#/s:8SwiftECC5Bytesa":{"name":"Bytes","abstract":"An array of 8-bit unsigned integers
"},"Structs/RP.html#/s:8SwiftECC2RPVyACSi_S3itcfc":{"name":"init(_:_:_:_:)","abstract":"Creates a reduction polynomial x^m + x^k3 + x^k2 + x^k1 + 1
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPVyACSi_Sitcfc":{"name":"init(_:_:)","abstract":"Creates a reduction polynomial x^m + x^k1 + 1
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV1mSivp":{"name":"m","abstract":"The m exponent
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV2k3Sivp":{"name":"k3","abstract":"The k3 exponent
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV2k2Sivp":{"name":"k2","abstract":"The k2 exponent
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV2k1Sivp":{"name":"k1","abstract":"The k1 exponent
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV1p6BigInt4BIntVvp":{"name":"p","abstract":"The reduction polynomial as a BInt
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV11descriptionSSvp":{"name":"description","abstract":"Textual description of self
","parent_name":"RP"},"Structs/RP.html#/s:8SwiftECC2RPV2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"Tests equality of reduction polynomials
","parent_name":"RP"},"Structs/Point.html#/s:8SwiftECC5PointV8INFINITYACvpZ":{"name":"INFINITY","abstract":"The point at infinity
","parent_name":"Point"},"Structs/Point.html#/s:8SwiftECC5PointVyAC6BigInt4BIntV_AFtcfc":{"name":"init(_:_:)","abstract":"Creates a Point from its x- and y-coordinates
","parent_name":"Point"},"Structs/Point.html#/s:8SwiftECC5PointV1x6BigInt4BIntVvp":{"name":"x","abstract":"The x coordinate
","parent_name":"Point"},"Structs/Point.html#/s:8SwiftECC5PointV1y6BigInt4BIntVvp":{"name":"y","abstract":"The y coordinate
","parent_name":"Point"},"Structs/Point.html#/s:8SwiftECC5PointV8infinitySbvp":{"name":"infinity","abstract":"Is true iff self is the point at inifinity
","parent_name":"Point"},"Structs/Point.html#/s:8SwiftECC5PointV11descriptionSSvp":{"name":"description","abstract":"Textual description of self
","parent_name":"Point"},"Structs/Point.html#/s:8SwiftECC5PointV2eeoiySbAC_ACtFZ":{"name":"==(_:_:)","abstract":"Tests equality of Points
","parent_name":"Point"},"Structs/Base64.html#/s:8SwiftECC6Base64V9pemEncodeySSSays5UInt8VG_SStFZ":{"name":"pemEncode(_:_:)","abstract":"PEM encodes a byte array
","parent_name":"Base64"},"Structs/Base64.html#/s:8SwiftECC6Base64V9pemDecodeySays5UInt8VGSS_SStKFZ":{"name":"pemDecode(_:_:)","abstract":"PEM decodes a string
","parent_name":"Base64"},"Structs/Base64.html#/s:8SwiftECC6Base64V6encodeySSSays5UInt8VGFZ":{"name":"encode(_:)","abstract":"Base64 encodes a byte array
","parent_name":"Base64"},"Structs/Base64.html#/s:8SwiftECC6Base64V6decodeySays5UInt8VGSSKFZ":{"name":"decode(_:)","abstract":"Base64 decodes a string
","parent_name":"Base64"},"Structs/Base64.html":{"name":"Base64","abstract":"There is no Base64 instances."},"Structs/Point.html":{"name":"Point","abstract":"
Point instances contain elliptic curve points.
"},"Structs/RP.html":{"name":"RP","abstract":"RP instances contain reduction polynomials like"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO11descriptionSSvp":{"name":"description","abstract":"
Textual description of self
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO13asn1StructureyA2CmF":{"name":"asn1Structure","abstract":"ASN1 has wrong structure
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO14authenticationyA2CmF":{"name":"authentication","abstract":"Authentication failed
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO6base64yA2CmF":{"name":"base64","abstract":"Base64 decoding exception
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO11decodePointyA2CmF":{"name":"decodePoint","abstract":"Invalid input to point decoding
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO15domainParameteryA2CmF":{"name":"domainParameter","abstract":"Either 4 * a^3 + 27 * b^2 = 0 when creating a prime domain or b = 0 when creating a characteristic 2 domain
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO11encodePointyA2CmF":{"name":"encodePoint","abstract":"Point to encode does not lie on the domain curve
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO14notEnoughInputyA2CmF":{"name":"notEnoughInput","abstract":"Not enough input to decrypt
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO7paddingyA2CmF":{"name":"padding","abstract":"Padding is wrong
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO12pemStructureyA2CmF":{"name":"pemStructure","abstract":"PEM structure is wrong
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO19privateKeyParameteryA2CmF":{"name":"privateKeyParameter","abstract":"Invalid parameter to ECPrivateKey constructor
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO18publicKeyParameteryA2CmF":{"name":"publicKeyParameter","abstract":"Invalid parameter to ECPublicKey constructor
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO10unknownOidyA2CmF":{"name":"unknownOid","abstract":"Unknown domain OID
","parent_name":"ECException"},"Enums/ECException.html#/s:8SwiftECC11ECExceptionO10notOnCurveyA2CmF":{"name":"notOnCurve","abstract":"Point not on curve
","parent_name":"ECException"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP160r1yA2CmF":{"name":"BP160r1","abstract":"brainpoolP160r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP160t1yA2CmF":{"name":"BP160t1","abstract":"brainpoolP160t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP192r1yA2CmF":{"name":"BP192r1","abstract":"brainpoolP192r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP192t1yA2CmF":{"name":"BP192t1","abstract":"brainpoolP192t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP224r1yA2CmF":{"name":"BP224r1","abstract":"brainpoolP224r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP224t1yA2CmF":{"name":"BP224t1","abstract":"brainpoolP224t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP256r1yA2CmF":{"name":"BP256r1","abstract":"brainpoolP256r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP256t1yA2CmF":{"name":"BP256t1","abstract":"brainpoolP256t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP320r1yA2CmF":{"name":"BP320r1","abstract":"brainpoolP320r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP320t1yA2CmF":{"name":"BP320t1","abstract":"brainpoolP320t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP384r1yA2CmF":{"name":"BP384r1","abstract":"brainpoolP384r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP384t1yA2CmF":{"name":"BP384t1","abstract":"brainpoolP384t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP512r1yA2CmF":{"name":"BP512r1","abstract":"brainpoolP512r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7BP512t1yA2CmF":{"name":"BP512t1","abstract":"brainpoolP512t1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC163k1yA2CmF":{"name":"EC163k1","abstract":"NIST sect163k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC163r2yA2CmF":{"name":"EC163r2","abstract":"NIST sect163r2 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC192k1yA2CmF":{"name":"EC192k1","abstract":"NIST sect192k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC192r1yA2CmF":{"name":"EC192r1","abstract":"NIST sect192r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC224k1yA2CmF":{"name":"EC224k1","abstract":"NIST sect224k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC224r1yA2CmF":{"name":"EC224r1","abstract":"NIST sect224r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC233k1yA2CmF":{"name":"EC233k1","abstract":"NIST sect233k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC233r1yA2CmF":{"name":"EC233r1","abstract":"NIST sect233r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC256k1yA2CmF":{"name":"EC256k1","abstract":"NIST sect256k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC256r1yA2CmF":{"name":"EC256r1","abstract":"NIST sect256r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC283k1yA2CmF":{"name":"EC283k1","abstract":"NIST sect283k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC283r1yA2CmF":{"name":"EC283r1","abstract":"NIST sect283r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC384r1yA2CmF":{"name":"EC384r1","abstract":"NIST sect384r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC409k1yA2CmF":{"name":"EC409k1","abstract":"NIST sect409k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC409r1yA2CmF":{"name":"EC409r1","abstract":"NIST sect409r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC521r1yA2CmF":{"name":"EC521r1","abstract":"NIST sect521r1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC571k1yA2CmF":{"name":"EC571k1","abstract":"NIST sect571k1 curve
","parent_name":"ECCurve"},"Enums/ECCurve.html#/s:8SwiftECC7ECCurveO7EC571r1yA2CmF":{"name":"EC571r1","abstract":"NIST sect571r1 curve
","parent_name":"ECCurve"},"Enums/BlockMode.html#/s:8SwiftECC9BlockModeO3CBCyA2CmF":{"name":"CBC","abstract":"Cipher Block Chaining mode
","parent_name":"BlockMode"},"Enums/BlockMode.html#/s:8SwiftECC9BlockModeO3CFByA2CmF":{"name":"CFB","abstract":"Cipher Feedback mode
","parent_name":"BlockMode"},"Enums/BlockMode.html#/s:8SwiftECC9BlockModeO3CTRyA2CmF":{"name":"CTR","abstract":"Counter mode
","parent_name":"BlockMode"},"Enums/BlockMode.html#/s:8SwiftECC9BlockModeO3ECByA2CmF":{"name":"ECB","abstract":"Electronic Codebook mode
","parent_name":"BlockMode"},"Enums/BlockMode.html#/s:8SwiftECC9BlockModeO3GCMyA2CmF":{"name":"GCM","abstract":"Galois Counter mode
","parent_name":"BlockMode"},"Enums/BlockMode.html#/s:8SwiftECC9BlockModeO3OFByA2CmF":{"name":"OFB","abstract":"Output Feedback mode
","parent_name":"BlockMode"},"Enums/AESCipher.html#/s:8SwiftECC9AESCipherO6AES128yA2CmF":{"name":"AES128","abstract":"AES 128 bit block cipher
","parent_name":"AESCipher"},"Enums/AESCipher.html#/s:8SwiftECC9AESCipherO6AES192yA2CmF":{"name":"AES192","abstract":"AES 192 bit block cipher
","parent_name":"AESCipher"},"Enums/AESCipher.html#/s:8SwiftECC9AESCipherO6AES256yA2CmF":{"name":"AES256","abstract":"AES 256 bit block cipher
","parent_name":"AESCipher"},"Enums/AESCipher.html":{"name":"AESCipher","abstract":"AES block ciphers available for encryption
"},"Enums/BlockMode.html":{"name":"BlockMode","abstract":"Available block cipher modes
"},"Enums/ECCurve.html":{"name":"ECCurve","abstract":"Built-in elliptic curves
"},"Enums/ECException.html":{"name":"ECException","abstract":"Elliptic curve exceptions
"},"Classes/ECSignature.html#/s:8SwiftECC11ECSignatureC1r1sACSays5UInt8VG_AHtcfc":{"name":"init(r:s:)","abstract":"Creates a signature from its r and s components
","parent_name":"ECSignature"},"Classes/ECSignature.html#/s:8SwiftECC11ECSignatureC4asn16domainAC4ASN1AFC_AA6DomainCtKcfc":{"name":"init(asn1:domain:)","abstract":"Creates a signature from its ASN1 representation
","parent_name":"ECSignature"},"Classes/ECSignature.html#/s:8SwiftECC11ECSignatureC1rSays5UInt8VGvp":{"name":"r","abstract":"The r component of the signature
","parent_name":"ECSignature"},"Classes/ECSignature.html#/s:8SwiftECC11ECSignatureC1sSays5UInt8VGvp":{"name":"s","abstract":"The s component of the signature
","parent_name":"ECSignature"},"Classes/ECSignature.html#/s:8SwiftECC11ECSignatureC4asn14ASN1AECvp":{"name":"asn1","abstract":"The ASN1 encoding of the signature
","parent_name":"ECSignature"},"Classes/ECSignature.html#/s:8SwiftECC11ECSignatureC11descriptionSSvp":{"name":"description","abstract":"Textual description of self
","parent_name":"ECSignature"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC6domain1wAcA6DomainC_AA5PointVtKcfc":{"name":"init(domain:w:)","abstract":"Creates a public key
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC3derACSays5UInt8VG_tKcfc":{"name":"init(der:)","abstract":"Creates a public key from its DER encoding
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC3pemACSS_tKcfc":{"name":"init(pem:)","abstract":"Creates a public key from its PEM encoding
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC6domainAA6DomainCvp":{"name":"domain","abstract":"The domain the key belongs to
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC1wAA5PointVvp":{"name":"w","abstract":"The public value - a curve point
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC4asn14ASN1AECvp":{"name":"asn1","abstract":"The ASN1 encoding of self
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC3pemSSvp":{"name":"pem","abstract":"The PEM encoding of self
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC11descriptionSSvp":{"name":"description","abstract":"A textual representation of the ASN1 encoding of self
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC6verify9signature3msg2bwSbAA11ECSignatureC_Says5UInt8VGSiSgtF":{"name":"verify(signature:msg:bw:)","abstract":"Verifies a signature with ECDSA
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC6verify9signature3msg2bwSbAA11ECSignatureC_10Foundation4DataVSiSgtF":{"name":"verify(signature:msg:bw:)","abstract":"Verifies a signature with ECDSA
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC7encrypt3msg6cipher4modeSays5UInt8VGAJ_AA9AESCipherOAA9BlockModeOtF":{"name":"encrypt(msg:cipher:mode:)","abstract":"Encrypts a byte array with ECIES
","parent_name":"ECPublicKey"},"Classes/ECPublicKey.html#/s:8SwiftECC11ECPublicKeyC7encrypt3msg6cipher4mode10Foundation4DataVAJ_AA9AESCipherOAA9BlockModeOtF":{"name":"encrypt(msg:cipher:mode:)","abstract":"Encrypts a Data structure with ECIES
","parent_name":"ECPublicKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC6domain1sAcA6DomainC_6BigInt4BIntVtKcfc":{"name":"init(domain:s:)","abstract":"Creates a private key
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC3derACSays5UInt8VG_tKcfc":{"name":"init(der:)","abstract":"Creates a private key from its DER encoding
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC3pemACSS_tKcfc":{"name":"init(pem:)","abstract":"Creates a private key from its PEM encoding
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC6domainAA6DomainCvp":{"name":"domain","abstract":"The domain the key belongs to
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC1s6BigInt4BIntVvp":{"name":"s","abstract":"The private value - a integer number
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC4asn14ASN1AECvp":{"name":"asn1","abstract":"The ASN1 encoding of self
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC3pemSSvp":{"name":"pem","abstract":"The PEM base 64 encoding of self
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC11descriptionSSvp":{"name":"description","abstract":"A textual representation of the ASN1 encoding of self
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC4sign3msg13deterministicAA11ECSignatureCSays5UInt8VG_SbtF":{"name":"sign(msg:deterministic:)","abstract":"Signs a byte array message with ECDSA
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC4sign3msg13deterministicAA11ECSignatureC10Foundation4DataV_SbtF":{"name":"sign(msg:deterministic:)","abstract":"Signs a Data message with ECDSA
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC7decrypt3msg6cipher4modeSays5UInt8VGAJ_AA9AESCipherOAA9BlockModeOtKF":{"name":"decrypt(msg:cipher:mode:)","abstract":"Decrypts a byte array message with ECIES
","parent_name":"ECPrivateKey"},"Classes/ECPrivateKey.html#/s:8SwiftECC12ECPrivateKeyC7decrypt3msg6cipher4mode10Foundation4DataVAJ_AA9AESCipherOAA9BlockModeOtKF":{"name":"decrypt(msg:cipher:mode:)","abstract":"Decrypts a Data message with ECIES
","parent_name":"ECPrivateKey"},"Classes/Domain.html#/s:8SwiftECC6DomainC5OID_P4ASN10E16ObjectIdentifierCvpZ":{"name":"OID_P","abstract":"Prime characteristic domain OID
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC5OID_24ASN10E16ObjectIdentifierCvpZ":{"name":"OID_2","abstract":"Characteristic 2 domain OID
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8instance5curveAcA7ECCurveO_tFZ":{"name":"instance(curve:)","abstract":"Returns a predefined domain from its curve
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8instance3oidAC4ASN10F16ObjectIdentifierC_tKFZ":{"name":"instance(oid:)","abstract":"Returns a predefined domain from its OID
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8instance3pemACSS_tKFZ":{"name":"instance(pem:)","abstract":"Constructs a domain from its PEM encoding
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8instance4name1p1a1b2gx2gy5order8cofactor3oidACSS_6BigInt4BIntVA5PSi4ASN10N16ObjectIdentifierCSgtKFZ":{"name":"instance(name:p:a:b:gx:gy:order:cofactor:oid:)","abstract":"Constructs an odd prime characteristic domain","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8instance4name2rp1a1b2gx2gy5order8cofactor3oidACSS_AA2RPV6BigInt4BIntVA4RSi4ASN10P16ObjectIdentifierCSgtKFZ":{"name":"instance(name:rp:a:b:gx:gy:order:cofactor:oid:)","abstract":"
Constructs a characteristic 2 domain","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC4nameSSvp":{"name":"name","abstract":"
The domain name
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC1p6BigInt4BIntVvp":{"name":"p","abstract":"The modulus
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC1a6BigInt4BIntVvp":{"name":"a","abstract":"The curve a coefficient
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC1b6BigInt4BIntVvp":{"name":"b","abstract":"The curve b coefficient
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC1gAA5PointVvp":{"name":"g","abstract":"The generator point
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC5order6BigInt4BIntVvp":{"name":"order","abstract":"The curve order
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8cofactorSivp":{"name":"cofactor","abstract":"The cofactor
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC3oid4ASN10E16ObjectIdentifierCSgvp":{"name":"oid","abstract":"An optional domain OID
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC15characteristic2Sbvp":{"name":"characteristic2","abstract":"Is true if self has characteristic 2, false if it has an odd prime characteristic
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC4asn14ASN1AECvp":{"name":"asn1","abstract":"The ASN1 encoding of self
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC3pemSSvp":{"name":"pem","abstract":"The PEM encoding of self
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC11descriptionSSvp":{"name":"description","abstract":"A textual representation of the ASN1 encoding of self
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC11doublePointyAA0E0VAFKF":{"name":"doublePoint(_:)","abstract":"Doubles a curve Point
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC9addPointsyAA5PointVAF_AFtKF":{"name":"addPoints(_:_:)","abstract":"Adds two curve Points
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC14subtractPointsyAA5PointVAF_AFtKF":{"name":"subtractPoints(_:_:)","abstract":"Subtracts two curve Points
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC11negatePointyAA0E0VAFKF":{"name":"negatePoint(_:)","abstract":"Negates a curve Point
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC13multiplyPointyAA0E0VAF_6BigInt4BIntVtKF":{"name":"multiplyPoint(_:_:)","abstract":"Multiplies a curve Point by an integer
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC8containsySbAA5PointVF":{"name":"contains(_:)","abstract":"Tests if point is on curve
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC11encodePointySays5UInt8VGAA0E0V_SbtKF":{"name":"encodePoint(_:_:)","abstract":"Encodes a Point to a byte array - please refer [SEC 1] section 2.3.3
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC11decodePointyAA0E0VSays5UInt8VGKF":{"name":"decodePoint(_:)","abstract":"Decodes a Point from a byte array - please refer [SEC 1] section 2.3.4
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC15asn1EncodePointy4ASN1AECAA0F0V_SbtKF":{"name":"asn1EncodePoint(_:_:)","abstract":"Encodes a Point to an ASN1 structure
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC15asn1DecodePointyAA0F0V4ASN10G11OctetStringCKF":{"name":"asn1DecodePoint(_:)","abstract":"Decodes a Point from an ASN1 octet string
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC15asn1DecodePointyAA0F0V4ASN10G9BitStringCKF":{"name":"asn1DecodePoint(_:)","abstract":"Decodes a Point from an ASN1 bit string
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC12asn1Explicit4ASN1AECyF":{"name":"asn1Explicit()","abstract":"Explicit ASN1 encoding of self - please refer [SEC 1] appendix C.2
","parent_name":"Domain"},"Classes/Domain.html#/s:8SwiftECC6DomainC11makeKeyPairAA08ECPublicE0C_AA09ECPrivateE0CtyF":{"name":"makeKeyPair()","abstract":"
Generates a private- and public key pair for self
","parent_name":"Domain"},"Classes/Domain.html":{"name":"Domain","abstract":"A Domain instance contains an elliptic curve domain - either with characteristic 2 or characteristic an odd prime."},"Classes/ECPrivateKey.html":{"name":"ECPrivateKey","abstract":"
An Elliptic Curve private key
"},"Classes/ECPublicKey.html":{"name":"ECPublicKey","abstract":"An Elliptic Curve public key
"},"Classes/ECSignature.html":{"name":"ECSignature","abstract":"ECSignature instances contain an ECDSA signature which consists of two byte arrays named r and s
"},"Classes.html":{"name":"Classes","abstract":"The following classes are available globally.
"},"Enums.html":{"name":"Enumerations","abstract":"The following enumerations are available globally.
"},"Structs.html":{"name":"Structures","abstract":"The following structures are available globally.
"},"Typealiases.html":{"name":"Type Aliases","abstract":"The following type aliases are available globally.
"}}
\ No newline at end of file