Exemplo n.º 1
0
            // Returns a clone if the spiImpl is cloneable
            public override Object clone()
            {//throws CloneNotSupportedException {
                if (spiImpl is java.lang.Cloneable)
                {
                    MessageDigestSpi spi = (MessageDigestSpi)spiImpl.clone();
                    return(new MessageDigestImpl(spi, getProvider(), getAlgorithm()));
                }

                throw new java.lang.CloneNotSupportedException();
            }