Module Implementation: OpenSSLCryptoInterfaceMDNote: Internal classes are italicized and will only contain a short description.Answer a Collection that is created by iteratively evaluating the one argument block, aBlock using each element of the receiver as an argument.Answer a SequenceableCollection that is created by iteratively evaluating the one argument block, aBlock using an element of receiver and adding the element to the eturned <SequenceableCollection> only if aBlock evaluates to the Boolean true.Answer the <OSSslDigest> associated with aDigestName. This performs a fast lookup, and if that fails then it queries OpenSSL. If OpenSSL is unable to locate it, it could be because the library was compiled in such a way that it left it out.aDigestName- <String>The methods in this category all have the same name as the Digest algorithm and answer an OSSslDigest instance.
Note: OpenSSL may have been compiled without support for some of the factory algorithms, in this case error objects will be answered.
Example:Compute and Answer the digest value <ByteArray> for aByteObject.aByteObject - a collection of bytes THAT MUST KNOW ITS SIZE (i.e. String | ByteArray | OSStringZ)aByteObject - a collection of bytes THAT MUST KNOW ITS SIZE (i.e. String | ByteArray | OSStringZ)aDigest - < OSSslDigest > message digest algorithm objectCompute and Answer the digest value <ByteArray> for aByteObject.aByteObject - a collection of bytes THAT MUST KNOW ITS SIZE (i.e. String | ByteArray | OSStringZ)aByteObject - byte object (i.e. ByteArray | EsString | OSObject)length - length of the byte objectaByteObject - a collection of bytes THAT MUST KNOW ITS SIZE (i.e. String | ByteArray | OSStringZ)aByteObject - byte object (i.e. ByteArray | EsString | OSObject)length - length of the byte objectRetrieves the digest value from the context and places it in aByteObject. Answers the number of data bytes actually written (length of the digest) This will be EVP_MAX_MD_SIZE at most.aByteObject is allowed to be an OSObject, but be careful when using these. It is expected that aByteObject has AT LEAST the length of the digest as it's allocated size. To be safe, always allocate EVP_MAX_MD_SIZE worth of bytes. After calling this...no more update: operations are allowed. You must call reset reinit the state.aByteObject - byte object (i.e. ByteArray | EsString | OSObject)Update the digest from aByteObject.aByteObject - a collection of bytes THAT MUST KNOW ITS SIZE (i.e. String | ByteArray | OSStringZ)aByteObject - byte object (i.e. ByteArray | EsString | OSObject)length - <Integer> length of aByteObjectanOSSslMessageDigestCtx - <OSSslDigestCtx>anOSSslMessageDigest - <OSSslDigest>Answer the contents of aByteArray as an ASCII String which represents the printable HEX value.newDigestBIO: aMessageDigestOrCtx
|