|
@@ -111,7 +111,7 @@ Type TCryptoKey
|
|
Rem
|
|
Rem
|
|
bbdoc: Returns a String representation of the key.
|
|
bbdoc: Returns a String representation of the key.
|
|
End Rem
|
|
End Rem
|
|
- Method ToString:String()
|
|
|
|
|
|
+ Method ToString:String() Override
|
|
Return TBase64.Encode(key)
|
|
Return TBase64.Encode(key)
|
|
End Method
|
|
End Method
|
|
|
|
|
|
@@ -138,7 +138,7 @@ Type TCryptoHashKey Extends TCryptoKey
|
|
Rem
|
|
Rem
|
|
bbdoc: Retrieves a key from its String representation.
|
|
bbdoc: Retrieves a key from its String representation.
|
|
End Rem
|
|
End Rem
|
|
- Function FromString:TCryptoHashKey(key:String)
|
|
|
|
|
|
+ Function FromString:TCryptoHashKey(key:String) Override
|
|
Local hashKey:TCryptoHashKey = New TCryptoHashKey
|
|
Local hashKey:TCryptoHashKey = New TCryptoHashKey
|
|
hashKey.key = TBase64.Decode(key)
|
|
hashKey.key = TBase64.Decode(key)
|
|
|
|
|
|
@@ -298,7 +298,7 @@ Type TCryptoSecretBoxKey Extends TCryptoKey
|
|
Rem
|
|
Rem
|
|
bbdoc: Retrieves a key from its String representation.
|
|
bbdoc: Retrieves a key from its String representation.
|
|
End Rem
|
|
End Rem
|
|
- Function FromString:TCryptoSecretBoxKey(key:String)
|
|
|
|
|
|
+ Function FromString:TCryptoSecretBoxKey(key:String) Override
|
|
Local sbKey:TCryptoSecretBoxKey = New TCryptoSecretBoxKey
|
|
Local sbKey:TCryptoSecretBoxKey = New TCryptoSecretBoxKey
|
|
sbKey.key = TBase64.Decode(key)
|
|
sbKey.key = TBase64.Decode(key)
|
|
|
|
|
|
@@ -481,7 +481,7 @@ Type TCryptoSignKeyPair
|
|
Rem
|
|
Rem
|
|
bbdoc: Returns a String representation of the key pair.
|
|
bbdoc: Returns a String representation of the key pair.
|
|
End Rem
|
|
End Rem
|
|
- Method ToString:String()
|
|
|
|
|
|
+ Method ToString:String() Override
|
|
Return PublicKeyToString() + "." + SecretKeyToString()
|
|
Return PublicKeyToString() + "." + SecretKeyToString()
|
|
End Method
|
|
End Method
|
|
|
|
|
|
@@ -562,7 +562,7 @@ Type TCryptoSignature
|
|
Rem
|
|
Rem
|
|
bbdoc: Returns a String representation of the signature.
|
|
bbdoc: Returns a String representation of the signature.
|
|
End Rem
|
|
End Rem
|
|
- Method ToString:String()
|
|
|
|
|
|
+ Method ToString:String() Override
|
|
Return TBase64.Encode(signature, 0, EBase64Options.DontBreakLines)
|
|
Return TBase64.Encode(signature, 0, EBase64Options.DontBreakLines)
|
|
End Method
|
|
End Method
|
|
|
|
|
|
@@ -703,7 +703,7 @@ Type TCryptoExchangeKeyPair
|
|
Rem
|
|
Rem
|
|
bbdoc: Returns a String representation of the key pair.
|
|
bbdoc: Returns a String representation of the key pair.
|
|
End Rem
|
|
End Rem
|
|
- Method ToString:String()
|
|
|
|
|
|
+ Method ToString:String() Override
|
|
Return PublicKeyToString() + "." + SecretKeyToString()
|
|
Return PublicKeyToString() + "." + SecretKeyToString()
|
|
End Method
|
|
End Method
|
|
|
|
|
|
@@ -797,7 +797,7 @@ Type TCryptoSessionKeyPair
|
|
Rem
|
|
Rem
|
|
bbdoc: Returns a String representation of the key pair.
|
|
bbdoc: Returns a String representation of the key pair.
|
|
End Rem
|
|
End Rem
|
|
- Method ToString:String()
|
|
|
|
|
|
+ Method ToString:String() Override
|
|
Return RxToString() + "." + TxToString()
|
|
Return RxToString() + "." + TxToString()
|
|
End Method
|
|
End Method
|
|
|
|
|
|
@@ -879,7 +879,7 @@ Type TCryptoNPacket
|
|
Rem
|
|
Rem
|
|
bbdoc: Returns a string representation of the packet.
|
|
bbdoc: Returns a string representation of the packet.
|
|
End Rem
|
|
End Rem
|
|
- Method ToString:String()
|
|
|
|
|
|
+ Method ToString:String() Override
|
|
Return TBase64.Encode(packet)
|
|
Return TBase64.Encode(packet)
|
|
End Method
|
|
End Method
|
|
|
|
|
|
@@ -909,7 +909,7 @@ Type TCryptoKK1Packet
|
|
Rem
|
|
Rem
|
|
bbdoc: Returns a string representation of the packet.
|
|
bbdoc: Returns a string representation of the packet.
|
|
End Rem
|
|
End Rem
|
|
- Method ToString:String()
|
|
|
|
|
|
+ Method ToString:String() Override
|
|
Return TBase64.Encode(packet)
|
|
Return TBase64.Encode(packet)
|
|
End Method
|
|
End Method
|
|
|
|
|
|
@@ -939,7 +939,7 @@ Type TCryptoKK2Packet
|
|
Rem
|
|
Rem
|
|
bbdoc: Returns a string representation of the packet.
|
|
bbdoc: Returns a string representation of the packet.
|
|
End Rem
|
|
End Rem
|
|
- Method ToString:String()
|
|
|
|
|
|
+ Method ToString:String() Override
|
|
Return TBase64.Encode(packet)
|
|
Return TBase64.Encode(packet)
|
|
End Method
|
|
End Method
|
|
|
|
|
|
@@ -969,7 +969,7 @@ Type TCryptoXX1Packet
|
|
Rem
|
|
Rem
|
|
bbdoc: Returns a string representation of the packet.
|
|
bbdoc: Returns a string representation of the packet.
|
|
End Rem
|
|
End Rem
|
|
- Method ToString:String()
|
|
|
|
|
|
+ Method ToString:String() Override
|
|
Return TBase64.Encode(packet)
|
|
Return TBase64.Encode(packet)
|
|
End Method
|
|
End Method
|
|
|
|
|
|
@@ -999,7 +999,7 @@ Type TCryptoXX2Packet
|
|
Rem
|
|
Rem
|
|
bbdoc: Returns a string representation of the packet.
|
|
bbdoc: Returns a string representation of the packet.
|
|
End Rem
|
|
End Rem
|
|
- Method ToString:String()
|
|
|
|
|
|
+ Method ToString:String() Override
|
|
Return TBase64.Encode(packet)
|
|
Return TBase64.Encode(packet)
|
|
End Method
|
|
End Method
|
|
|
|
|
|
@@ -1029,7 +1029,7 @@ Type TCryptoXX3Packet
|
|
Rem
|
|
Rem
|
|
bbdoc: Returns a string representation of the packet.
|
|
bbdoc: Returns a string representation of the packet.
|
|
End Rem
|
|
End Rem
|
|
- Method ToString:String()
|
|
|
|
|
|
+ Method ToString:String() Override
|
|
Return TBase64.Encode(packet)
|
|
Return TBase64.Encode(packet)
|
|
End Method
|
|
End Method
|
|
|
|
|
|
@@ -1274,7 +1274,7 @@ Type TCryptoPWHashMasterKey
|
|
Rem
|
|
Rem
|
|
bbdoc: Returns a String representation of the key.
|
|
bbdoc: Returns a String representation of the key.
|
|
End Rem
|
|
End Rem
|
|
- Method ToString:String()
|
|
|
|
|
|
+ Method ToString:String() Override
|
|
Return TBase64.Encode(key)
|
|
Return TBase64.Encode(key)
|
|
End Method
|
|
End Method
|
|
|
|
|
|
@@ -1307,7 +1307,7 @@ Type TCryptoPWHashStoredKey
|
|
Rem
|
|
Rem
|
|
bbdoc: Returns a String representation of the key.
|
|
bbdoc: Returns a String representation of the key.
|
|
End Rem
|
|
End Rem
|
|
- Method ToString:String()
|
|
|
|
|
|
+ Method ToString:String() Override
|
|
Return TBase64.Encode(key, 0, EBase64Options.DontBreakLines)
|
|
Return TBase64.Encode(key, 0, EBase64Options.DontBreakLines)
|
|
End Method
|
|
End Method
|
|
|
|
|