DiffieHellmanParameters
public class DiffieHellmanParameters
Common Diffie-Hellman parameters
-
Undocumented
Declaration
Swift
public var p: UIntBig
-
Undocumented
Declaration
Swift
public var g: UIntBig
-
OpenSSL generated safe prime : 128-bits
Declaration
Swift
public static let random128: DiffieHellmanParameters
-
OpenSSL generated safe prime : 256-bits
Declaration
Swift
public static let random256: DiffieHellmanParameters
-
OpenSSL generated safe prime : 512-bits
Declaration
Swift
public static let random512: DiffieHellmanParameters
-
RFC 2409 MODP Group 1 : 768-bits : First Oakley Group : Generator = 2
Declaration
Swift
public static let modpGroup1: DiffieHellmanParameters
-
RFC 2409 MODP Group 2 : 1024-bits : Second Oakley Group : Generator = 2
Declaration
Swift
public static let modpGroup2: DiffieHellmanParameters
-
RFC3526 MODP Group 5 : 1536-bits : Generator = 2
Declaration
Swift
public static let modpGroup5: DiffieHellmanParameters
-
RFC3526 MODP Group 14 : 2048-bits : Generator = 2 Satisfies NCSC Foundation Profile for TLS standard
Declaration
Swift
public static let modpGroup14: DiffieHellmanParameters