Module Implementation: OpenSSLCryptoInterfacePKEYNote: Internal classes are italicized and will only contain a short description.See the class-side examples in the OpenSSLPublicPrivateKeyExamples class for additional usage detail.OpenSSLEnvelopeCtx: Internal state object used during open/seal digital enveloping.OSSslDH: OSSslDHKey internal pkey struct accessor.OSSslDSA: OSSslDSAKey internal pkey struct accessor.OSSslRSA: OSSslRSAKey internal pkey struct accessor.OSSslEC: OSSslECKey internal pkey struct accessor.OSSslECBuiltinCurve: OpenSSL preconstructed curvesOSSslECGroup: Eliptic Curve group definitionOSSslECMethod: Eliptic Curve Methods supported by OpenSSLOSSslECMethod: Point on an Eliptic CurveaStringOrByteArray - data in <String> or <ByteArray> formRead the Private/Public key from a DER or PEM encoded data. If the data is password protected, then aPassword will be a String.If not password is required, then aPassword will be nil.aStringOrByteArray - data in <String> or <ByteArray> formaPassword - Optional password <String>. Could be nil for no passwd.aFilename - full path name to fileRead the Private/Public key from a DER or PEM encoded file with full path name aFilename. If the data is password protected, then aPassword will be a String. If not password is required, then aPassword will be nil.aFilename - full path name to fileaPassword - Optional password <String>. Could be nil for no passwd.Note: The Pkey algorithm must support digital signatures. If not, an error object is answered.aByteObject - a collection of bytes THAT MUST KNOW ITS SIZE (i.e. String | ByteArray | OSStringZ)anOSSslDigest - <OSSslDigest> message digest algorithmAnswers a <Boolean> indicating if the digital signature for aByteObject using the digest anOSSslDigest and this pkey is verifiedNote: The Pkey algorithm must support digital signatures. If not, an error object is answered.aByteObject - a collection of bytes THAT MUST KNOW ITS SIZE (i.e. String | ByteArray | OSStringZ)anOSSslDigest - <OSSslDigest> message digest algorithmWrite the PKey in DER format to aStreamOrBIO. This allows Smalltalk stream to be used as well.aStreamOrBIO - <WriteStream or compatible | OSSslBIO>Write the PKey in PEM format to aStreamOrBIO. This allows Smalltalk stream to be used as well.aStreamOrBIO - <WriteStream or compatible | OSSslBIO>Write the PKey in PEM format to aStreamOrBIO using the supplied aCipher and aPassword. If only one of the chipher or password is supplied...they both will be ignored. The caller must supply a cipher AND password or neither. This allows Smalltalk stream to be used as well.aStreamOrBIO - <WriteStream or compatible | OSSslBIO>aCipher - <OSSslCipher> or nilaPassword - <String> or nil.Write the Public key version of the PKey in DER format to aStreamOrBIO. This allows Smalltalk stream to be used as well.aStreamOrBIO - <WriteStream or compatible | OSSslBIO>Write the Public key version of the PKey in PEM format to aStreamOrBIO. This allows Smalltalk stream to be used as well.aStreamOrBIO - <WriteStream or compatible | OSSslBIO>Create a new instance of the DH Key. This is done by generating the DH key using the arguments provided. The argument bitsOrBitsAndGenerator can be:bitsOrBitsAndGenerator - <Association> described abovepublicValue - <Integer | OSSslBigNumber | OSSslAsn1Integer>Create a new instance of the DSA Key. This is done by generating the DSA key using the arguments provided. The argument bitsOrBitsAndGenerator can be:bitsOrBitsAnd20ByteSeed- <Association> described aboveCreate a new instance of the EC Key Pair. The argument aCurveOrGroup can be:aCurveOrGroup - described abovepublicValue - <OSSslECPoint>Create a new instance of the RSA Key Pair. This is done by generating the RSA key using the arguments provided. The argument bitsOrBitsAndExponent can be:2. An <Integer> to just define the bits...this is shorthand for a nil exponent described above. Arguments: bitsOrBitsAndExponent - <Association> described aboveaByteObject - @see implementors of isOpenSSLByteObject for typesanOSSslDigest - <OSSslDigest> message digest algorithmaLength - <Integer> in octects of the saltanOSSslMgf1Digest- <OSSslDigest> hash algorithm used in MGF1Answers a <Boolean> indicating if the digital signature for @aByteObject using the Probabilistic Signature Scheme (RSA-PSS) with MGF1 mask gen function is verifiedNote: The RSA Pkey must have a private key. If not, an error object is answered.Signature - @see implementors of isOpenSSLByteObject for typesaByteObject - a collection of bytes THAT MUST KNOW ITS SIZE (i.e. String | ByteArray | OSStringZ)anOSSslDigest - <OSSslDigest> message digest algorithmaLength - <Integer> in octects of the saltanOSSslMgf1Digest - <OSSslDigest> hash algorithm used in MGF1aByteArray - <ByteArray> initialization vectoranEncryptedByteArray - <ByteArray>Open anEnvelope <OpenSSLEnvelope> using the private key anOSSslPKey that was associated with the envelope when it was sealed.anEnvelope - <OpenSSLEnvelope> sealed envelopeanOSSslPKey - <OSSslPKey> private keyCreate envelopes (1 for each public key in aCollectionOfOSSslPKeys) and seal the envelopes <OpenSSLEnvelope> using the public keys.aByteObject - a collection of bytes to encrypt THAT MUST KNOW ITS SIZE (i.e. String | ByteArray | OSStringZ)aCollectionOfOSSslPKeys - <SequenceableCollection of <OSSslPKey>> public keys<Array of <OpenSSLEnvelope>> - collection of envelopes associated with the public keys in the same order defined in aCollectionOfOSSslPKeysOpen anEnvelope <OpenSSLEnvelope> using the private key anOSSslPKey that was associated with the envelope when it was sealed.anEnvelope - <OpenSSLEnvelope> sealed envelopeanOSSslPKey - <OSSslPKey> private keyCreate envelopes (1 for each public key in aCollectionOfOSSslPKeys) and seal the envelopes <OpenSSLEnvelope> using the public keys.aByteObject - a collection of bytes to encrypt THAT MUST KNOW ITS SIZE (i.e. String | ByteArray | OSStringZ)aCollectionOfOSSslPKeys - <SequenceableCollection of <OSSslPKey>> public keys
|